diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-04-01 22:33:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-04-01 22:33:13 +0100 |
commit | a68c2e840eefd250fa495dba359e833e3c57c977 (patch) | |
tree | 8656f3c8792476c2483c4da24dce571810572e11 /framework | |
parent | c958f45987827e5892db6e669fb02566f414c599 (diff) |
remove obsolete component_writeInfo methods
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/lomenubar/exports.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/framework/source/lomenubar/exports.cxx b/framework/source/lomenubar/exports.cxx index 6782167054..ea93339a91 100644 --- a/framework/source/lomenubar/exports.cxx +++ b/framework/source/lomenubar/exports.cxx @@ -53,37 +53,12 @@ static void writeInfo(const css::uno::Reference< css::registry::XRegistryKey >& extern "C" { -//================================================================================================== SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } - -//================================================================================================== -SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(void* /*pServiceManager*/, - void* pRegistryKey ) -{ - if (!pRegistryKey) - return sal_False; - - try - { - css::uno::Reference< css::registry::XRegistryKey > xKey(reinterpret_cast< css::registry::XRegistryKey* >(pRegistryKey), css::uno::UNO_QUERY); - - writeInfo( xKey, DESKTOPJOB_IMPLEMENTATION_NAME, DESKTOPJOB_SERVICE_NAME); - writeInfo( xKey, FRAMEJOB_IMPLEMENTATION_NAME, FRAMEJOB_SERVICE_NAME); - - return sal_True; - } - catch(const css::registry::InvalidRegistryException&) - { OSL_ENSURE( sal_False, "### InvalidRegistryException!" ); } - - return sal_False; -} - -//================================================================================================== SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* pImplName , void* pServiceManager, void* /*pRegistryKey*/ ) |