diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:14 +0200 |
commit | 90da412b2b5955ab6c014ff7bce5058ee5c3bc2d (patch) | |
tree | cedb131b24ce114fd75146e322cce547d033f223 /testtools/source | |
parent | 4a69849e2fb50cbe3632209c28b9d638bbf878a9 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: If19e6222cc7dea2a3a4692d2d4cb43ccc46243a2
Diffstat (limited to 'testtools/source')
-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() ) ); |