loplugin:cstylecast: deal with remaining pointer casts

Change-Id: I1d24939c085ee0751de00124d2a90de1270dbd22
This commit is contained in:
Stephan Bergmann
2015-06-08 16:25:15 +02:00
parent b5a062bd1c
commit 885bf7c68c

View File

@@ -3217,7 +3217,7 @@ void SAL_CALL ODatabaseForm::addRowSetApproveListener(const Reference<XRowSetApp
Reference<XRowSetApproveBroadcaster> xBroadcaster;
if (query_aggregation( m_xAggregate, xBroadcaster))
{
Reference<XRowSetApproveListener> xListener((XRowSetApproveListener*)this);
Reference<XRowSetApproveListener> xListener(static_cast<XRowSetApproveListener*>(this));
xBroadcaster->addRowSetApproveListener(xListener);
}
}
@@ -3234,7 +3234,7 @@ void SAL_CALL ODatabaseForm::removeRowSetApproveListener(const Reference<XRowSet
Reference<XRowSetApproveBroadcaster> xBroadcaster;
if (query_aggregation( m_xAggregate, xBroadcaster))
{
Reference<XRowSetApproveListener> xListener((XRowSetApproveListener*)this);
Reference<XRowSetApproveListener> xListener(static_cast<XRowSetApproveListener*>(this));
xBroadcaster->removeRowSetApproveListener(xListener);
}
}