diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:26:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:26:28 +0200 |
commit | a04610788c7089c41e2f32b3bf911560f5a53fcc (patch) | |
tree | 29a06fab7aab80256c23b46ae62b70abf66e0853 /lotuswordpro | |
parent | 801b9823a0f1974517a4021b9519cfda8cda1626 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I5060e9560f394f872c2338409813dd41f20a2fff
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/LotusWordProImportFilter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx index 91c9b13b0f11..3d780637ef8f 100644 --- a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx +++ b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx @@ -147,7 +147,7 @@ OUString SAL_CALL LotusWordProImportFilter::detect( com::sun::star::uno::Sequenc Sequence< ::sal_Int8 > aData; sal_Int32 nLen = SAL_N_ELEMENTS( header ); if ( !( ( nLen == xInputStream->readBytes( aData, nLen ) ) - && ( memcmp( ( void* )header, (void*) aData.getConstArray(), nLen ) == 0 ) ) ) + && ( memcmp( static_cast<void const *>(header), static_cast<void const *>(aData.getConstArray()), nLen ) == 0 ) ) ) sTypeName.clear(); return sTypeName; @@ -193,7 +193,7 @@ Sequence< OUString > SAL_CALL LotusWordProImportFilter_getSupportedServiceNames( uno::Reference< XInterface > SAL_CALL LotusWordProImportFilter_createInstance( const uno::Reference< XMultiServiceFactory > & rSMgr) throw( Exception ) { - return (cppu::OWeakObject*) new LotusWordProImportFilter( comphelper::getComponentContext(rSMgr) ); + return static_cast<cppu::OWeakObject*>(new LotusWordProImportFilter( comphelper::getComponentContext(rSMgr) )); } // XServiceInfo |