diff options
Diffstat (limited to 'i18npool/source/registerservices')
-rw-r--r-- | i18npool/source/registerservices/registerservices.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/registerservices/registerservices.cxx b/i18npool/source/registerservices/registerservices.cxx index d76f8e9289cf..598c92786c9f 100644 --- a/i18npool/source/registerservices/registerservices.cxx +++ b/i18npool/source/registerservices/registerservices.cxx @@ -69,8 +69,8 @@ using namespace ::com::sun::star; lang::XMultiServiceFactory >& ) \ { \ return uno::Reference < \ - uno::XInterface >( ( ::cppu::OWeakObject* ) \ - new ImplName ); \ + uno::XInterface >( static_cast<cppu::OWeakObject*>( \ + new ImplName) ); \ } #define IMPL_CREATEINSTANCE_CTX( ImplName ) \ @@ -80,8 +80,8 @@ using namespace ::com::sun::star; lang::XMultiServiceFactory >& rxMSF ) \ { \ return uno::Reference < \ - uno::XInterface >( ( ::cppu::OWeakObject* ) \ - new ImplName( comphelper::getComponentContext(rxMSF) ) ); \ + uno::XInterface >( static_cast<cppu::OWeakObject*>( \ + new ImplName( comphelper::getComponentContext(rxMSF) )) ); \ } typedef uno::Reference< |