diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-15 16:40:20 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-15 16:42:23 +0200 |
commit | 433833e8a77dad2dcc272c867c858beacea2ebc6 (patch) | |
tree | 206131efdccd06497183511cec5f02b9076a181b /sw/source/ui/vba | |
parent | ad0a10837aa240ab6cd693f9eb4cbb9705315982 (diff) |
Add prefixes for component_getFactory methods
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r-- | sw/source/ui/vba/service.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sw/source/ui/vba/service.cxx b/sw/source/ui/vba/service.cxx index 7568106c1e..7bdc724169 100644 --- a/sw/source/ui/vba/service.cxx +++ b/sw/source/ui/vba/service.cxx @@ -63,18 +63,15 @@ namespace vbaeventshelper extern sdecl::ServiceDecl const serviceDecl; } -extern "C" +extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL vbaswobj_component_getFactory( + const sal_Char * pImplName, lang::XMultiServiceFactory * pServiceManager, + registry::XRegistryKey * pRegistryKey ) { - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( - const sal_Char * pImplName, lang::XMultiServiceFactory * pServiceManager, - registry::XRegistryKey * pRegistryKey ) - { - OSL_TRACE("In component_getFactory for %s", pImplName ); - void* pRet = component_getFactoryHelper( - pImplName, pServiceManager, pRegistryKey, globals::serviceDecl, document::serviceDecl, wrapformat::serviceDecl, vbaeventshelper::serviceDecl ); + void* pRet = component_getFactoryHelper(pImplName, pServiceManager, + pRegistryKey, globals::serviceDecl, document::serviceDecl, + wrapformat::serviceDecl, vbaeventshelper::serviceDecl ); OSL_TRACE("Ret is 0x%x", pRet); return pRet; - } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |