summaryrefslogtreecommitdiff
path: root/starmath/source/detreg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/detreg.cxx')
-rw-r--r--starmath/source/detreg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/detreg.cxx b/starmath/source/detreg.cxx
index 356428c304da..1ce1296e309f 100644
--- a/starmath/source/detreg.cxx
+++ b/starmath/source/detreg.cxx
@@ -44,7 +44,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL smd_component_getFactory( const sal_Char* pI
{
// Define variables which are used in following macros.
Reference< XSingleServiceFactory > xFactory ;
- Reference< XMultiServiceFactory > xServiceManager( reinterpret_cast< XMultiServiceFactory* >( pServiceManager ) ) ;
+ Reference< XMultiServiceFactory > xServiceManager( static_cast< XMultiServiceFactory* >( pServiceManager ) ) ;
if( SmFilterDetect::impl_getStaticImplementationName().equalsAscii( pImplementationName ) )
{