diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:25:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:25:15 +0200 |
commit | 885bf7c68ce5355a1b4d447aeddc1bd40d6be503 (patch) | |
tree | c1254bd50f68addb3636c82dbd380468fb7bb3a6 /forms/source | |
parent | b5a062bd1c6d5af34d3838192365fb780a910c3f (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I1d24939c085ee0751de00124d2a90de1270dbd22
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index da50462c3df8..2b072e4e1995 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -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); } } |