diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-05-04 15:51:56 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-05-04 15:52:57 +0200 |
commit | 135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch) | |
tree | 5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /stoc/source/servicemanager | |
parent | c48fe716225b1b784d657685396b6cf5fee4fc3d (diff) |
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'stoc/source/servicemanager')
-rw-r--r-- | stoc/source/servicemanager/servicemanager.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index 55ee0d9e4ef2..152fe8dadb3c 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -1898,9 +1898,8 @@ Reference<XInterface > SAL_CALL OServiceManager_CreateInstance( const Reference< XComponentContext > & xContext ) { return Reference<XInterface >( - SAL_STATIC_CAST( - XInterface *, SAL_STATIC_CAST( - OWeakObject *, new stoc_smgr::OServiceManager( xContext ) ) ) ); + static_cast< XInterface * >( + static_cast< OWeakObject * >( new stoc_smgr::OServiceManager( xContext ) ) ) ); } /** @@ -1911,9 +1910,8 @@ Reference<XInterface > SAL_CALL ORegistryServiceManager_CreateInstance( throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) { return Reference<XInterface >( - SAL_STATIC_CAST( - XInterface *, SAL_STATIC_CAST( - OWeakObject *, new stoc_smgr::ORegistryServiceManager( xContext ) ) ) ); + static_cast< XInterface * >( + static_cast< OWeakObject * >( new stoc_smgr::ORegistryServiceManager( xContext ) ) ) ); } Reference<XInterface > SAL_CALL OServiceManagerWrapper_CreateInstance( |