From 885bf7c68ce5355a1b4d447aeddc1bd40d6be503 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jun 2015 16:25:15 +0200 Subject: [PATCH] loplugin:cstylecast: deal with remaining pointer casts Change-Id: I1d24939c085ee0751de00124d2a90de1270dbd22 --- forms/source/component/DatabaseForm.cxx | 4 ++-- 1 file 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 xBroadcaster; if (query_aggregation( m_xAggregate, xBroadcaster)) { - Reference xListener((XRowSetApproveListener*)this); + Reference xListener(static_cast(this)); xBroadcaster->addRowSetApproveListener(xListener); } } @@ -3234,7 +3234,7 @@ void SAL_CALL ODatabaseForm::removeRowSetApproveListener(const Reference xBroadcaster; if (query_aggregation( m_xAggregate, xBroadcaster)) { - Reference xListener((XRowSetApproveListener*)this); + Reference xListener(static_cast(this)); xBroadcaster->removeRowSetApproveListener(xListener); } }