summaryrefslogtreecommitdiff
path: root/cppuhelper/source/propshlp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:22 +0200
commit85a2ec80c65dbcc7c031d21f584d0417f66f2164 (patch)
tree25456293cf23fbab63c46a3fcb7bea0c1e52da80 /cppuhelper/source/propshlp.cxx
parentcd14c536643219712c0afe437029043238e33967 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I4eea017d429945cdd8636c0f06cb18f5887a0d78
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r--cppuhelper/source/propshlp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 5be08741b499..153a92139865 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -648,7 +648,7 @@ void OPropertySetHelper::fire
// create the event sequence of all changed properties
Sequence< PropertyChangeEvent > aEvts( nHandles );
PropertyChangeEvent * pEvts = aEvts.getArray();
- Reference < XInterface > xSource( (XPropertySet *)this, UNO_QUERY );
+ Reference < XInterface > xSource( static_cast<XPropertySet *>(this), UNO_QUERY );
sal_Int32 i;
sal_Int32 nChangesLen = 0;
// Loop over all changed properties to fill the event struct
@@ -975,7 +975,7 @@ void OPropertySetHelper::firePropertiesChangeEvent(
{
// must lock the mutex outside the loop. So all values are consistent.
MutexGuard aGuard( rBHelper.rMutex );
- Reference < XInterface > xSource( (XPropertySet *)this, UNO_QUERY );
+ Reference < XInterface > xSource( static_cast<XPropertySet *>(this), UNO_QUERY );
sal_Int32 nFirePos = 0;
for( i = 0; i < nLen; i++ )
{