summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/service/services.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/service/services.cxx b/unoxml/source/service/services.cxx
index d2bb28500f2c..f3e015fd8c15 100644
--- a/unoxml/source/service/services.cxx
+++ b/unoxml/source/service/services.cxx
@@ -50,7 +50,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL unoxml_component_getFactory(const sal_Char *
// Define variables which are used in following macros.
Reference< XSingleServiceFactory > xFactory;
Reference< XMultiServiceFactory > xServiceManager(
- reinterpret_cast< XMultiServiceFactory* >(pServiceManager));
+ static_cast< XMultiServiceFactory* >(pServiceManager));
if (CDocumentBuilder::_getImplementationName().equalsAscii( pImplementationName ) )
{