diff options
-rw-r--r-- | testtools/source/bridgetest/cppobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx index 28f13fc2d260..a468d900492e 100644 --- a/testtools/source/bridgetest/cppobj.cxx +++ b/testtools/source/bridgetest/cppobj.cxx @@ -1186,7 +1186,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( if (pServiceManager && rtl_str_compare( pImplName, IMPLNAME ) == 0) { Reference< XSingleServiceFactory > xFactory( createSingleFactory( - reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + static_cast< XMultiServiceFactory * >( pServiceManager ), OUString( IMPLNAME ), bridge_object::Test_Impl_create, bridge_object::getSupportedServiceNames() ) ); |