[Libreoffice-commits] core.git: svtools/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 4 13:47:56 CET 2013
svtools/source/uno/miscservices.cxx | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
New commits:
commit 5d3cec6aaf39729cd2511a5f182597ce4d8a6997
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 4 13:47:13 2013 +0100
Some clean-up
Change-Id: Ic65d1d5dcf2a0a7dbc0b382002b15e47f7998344
diff --git a/svtools/source/uno/miscservices.cxx b/svtools/source/uno/miscservices.cxx
index 0414f5d..a62b248 100644
--- a/svtools/source/uno/miscservices.cxx
+++ b/svtools/source/uno/miscservices.cxx
@@ -146,9 +146,16 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL svt_component_getFactory (
}
else
{
- pResult = component_getFactoryHelper( pImplementationName, reinterpret_cast< lang::XMultiServiceFactory * >( _pServiceManager ), reinterpret_cast< registry::XRegistryKey* >( pRegistryKey ), serviceDecl );
+ pResult = comphelper::service_decl::component_getFactoryHelper(
+ pImplementationName,
+ static_cast<css::lang::XMultiServiceFactory *>(
+ _pServiceManager),
+ static_cast<css::registry::XRegistryKey *>(pRegistryKey),
+ serviceDecl );
if ( !pResult )
- pResult = ::cppu::component_getFactoryHelper( pImplementationName, _pServiceManager, pRegistryKey, s_aServiceEntries );
+ pResult = cppu::component_getFactoryHelper(
+ pImplementationName, _pServiceManager, pRegistryKey,
+ s_aServiceEntries );
}
if ( xFactory.is() )
More information about the Libreoffice-commits
mailing list