diff options
Diffstat (limited to 'sc/source/ui/vba/service.cxx')
-rw-r--r-- | sc/source/ui/vba/service.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/source/ui/vba/service.cxx b/sc/source/ui/vba/service.cxx index 2b1f14cf154a..b21b55f6ae9b 100644 --- a/sc/source/ui/vba/service.cxx +++ b/sc/source/ui/vba/service.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -50,7 +50,7 @@ namespace worksheet { extern sdecl::ServiceDecl const serviceDecl; } -namespace window +namespace window { extern sdecl::ServiceDecl const serviceDecl; } @@ -58,11 +58,11 @@ namespace globals { extern sdecl::ServiceDecl const serviceDecl; } -namespace hyperlink +namespace hyperlink { extern sdecl::ServiceDecl const serviceDecl; } -namespace application +namespace application { extern sdecl::ServiceDecl const serviceDecl; } @@ -70,27 +70,27 @@ namespace vbaeventshelper { extern sdecl::ServiceDecl const serviceDecl; } -namespace textframe +namespace textframe { extern sdecl::ServiceDecl const serviceDecl; } extern "C" { - SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( + SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) { OSL_TRACE("In component_getImplementationEnv"); *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( + SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( lang::XMultiServiceFactory * pServiceManager, registry::XRegistryKey * pRegistryKey ) { OSL_TRACE("In component_writeInfo"); #if 0 // Component registration - if ( component_writeInfoHelper( pServiceManager, pRegistryKey, + if ( component_writeInfoHelper( pServiceManager, pRegistryKey, range::serviceDecl, workbook::serviceDecl, worksheet::serviceDecl, globals::serviceDecl, window::serviceDecl, hyperlink::serviceDecl, application::serviceDecl ) && component_writeInfoHelper( pServiceManager, pRegistryKey, vbaeventshelper::serviceDecl ) ) { // Singleton registration @@ -101,7 +101,7 @@ extern "C" Reference< registry::XRegistryKey >xKey = pKey->createKey( rtl::OUString::createFromAscii( ("ooo.vba.Globals/UNO/SINGLETONS/ooo.vba.theGlobals") ) ); - xKey->setStringValue( ::rtl::OUString::createFromAscii( + xKey->setStringValue( ::rtl::OUString::createFromAscii( ("ooo.vba.Globals") ) ); return sal_True; } @@ -113,13 +113,13 @@ extern "C" return sal_False; #else // Component registration - return component_writeInfoHelper( pServiceManager, pRegistryKey, + return component_writeInfoHelper( pServiceManager, pRegistryKey, range::serviceDecl, workbook::serviceDecl, worksheet::serviceDecl, globals::serviceDecl, window::serviceDecl, hyperlink::serviceDecl, application::serviceDecl ) && component_writeInfoHelper( pServiceManager, pRegistryKey, vbaeventshelper::serviceDecl, textframe::serviceDecl ); #endif - + } - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( + SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, lang::XMultiServiceFactory * pServiceManager, registry::XRegistryKey * pRegistryKey ) { |