summaryrefslogtreecommitdiff
path: root/basic/source/classes/propacc.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:17 +0200
commit761e0ae0a72f635564fef35852e0c87c755e3bd7 (patch)
tree9de5b02ba18f4531f931aea76620b8ebd02895d1 /basic/source/classes/propacc.cxx
parentd7b2fe39be4b65af4cebe87a38786e4843e58329 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8bce930283301130ec7a2b1eab2a2c8f65c8abf9
Diffstat (limited to 'basic/source/classes/propacc.cxx')
-rw-r--r--basic/source/classes/propacc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index adfac826b078..677897a97cc3 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -279,7 +279,7 @@ void RTL_Impl_CreatePropertySet( StarBASIC* pBasic, SbxArray& rPar, bool bWrite
// Get class names of struct
OUString aServiceName( "stardiv.uno.beans.PropertySet");
- Reference< XInterface > xInterface = (OWeakObject*) new SbPropertyValues();
+ Reference< XInterface > xInterface = static_cast<OWeakObject*>(new SbPropertyValues());
SbxVariableRef refVar = rPar.Get(0);
if( xInterface.is() )
@@ -299,7 +299,7 @@ void RTL_Impl_CreatePropertySet( StarBASIC* pBasic, SbxArray& rPar, bool bWrite
if( xUnoObj->getUnoAny().getValueType().getTypeClass() != TypeClass_VOID )
{
// Return object
- refVar->PutObject( (SbUnoObject*)xUnoObj );
+ refVar->PutObject( static_cast<SbUnoObject*>(xUnoObj) );
return;
}
}