From 8738273c24ce7d00974362df05da05a0b3a12c49 Mon Sep 17 00:00:00 2001 From: Matus Kukan Date: Sun, 3 Jul 2011 15:16:31 +0200 Subject: Remove component_getImplementationEnvironment --- sd/source/filter/eppt/pptx-epptooxml.cxx | 8 -------- sd/source/ui/unoidl/detreg.cxx | 7 ------- sd/source/ui/unoidl/facreg.cxx | 7 ------- sd/util/exports.dxp | 3 +-- sd/util/sdfilt.map | 1 - 5 files changed, 1 insertion(+), 25 deletions(-) (limited to 'sd') diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 39691f4c45b7..69c231abaeb5 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -2218,9 +2218,6 @@ OUString PowerPointExport::implGetImplementationName() const } // UNO component -// ------------------------------------------ -// - component_getImplementationEnvironment - -// ------------------------------------------ static struct cppu::ImplementationEntry g_entries[] = { @@ -2239,11 +2236,6 @@ extern "C" { #endif -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - // ------------------------ // - component_getFactory - // ------------------------ diff --git a/sd/source/ui/unoidl/detreg.cxx b/sd/source/ui/unoidl/detreg.cxx index 2cf653f3f3df..92fb91fe1d17 100644 --- a/sd/source/ui/unoidl/detreg.cxx +++ b/sd/source/ui/unoidl/detreg.cxx @@ -42,13 +42,6 @@ using namespace ::com::sun::star::lang; extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char** ppEnvironmentTypeName, - uno_Environment** ) -{ - *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; -} - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/sd/source/ui/unoidl/facreg.cxx b/sd/source/ui/unoidl/facreg.cxx index 709b1a5f00ca..563c374286c9 100644 --- a/sd/source/ui/unoidl/facreg.cxx +++ b/sd/source/ui/unoidl/facreg.cxx @@ -297,13 +297,6 @@ static ::boost::shared_ptr spFactoryMap; extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, - uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, diff --git a/sd/util/exports.dxp b/sd/util/exports.dxp index 0cb5620a1603..70033078921a 100755 --- a/sd/util/exports.dxp +++ b/sd/util/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment -component_getFactory \ No newline at end of file +component_getFactory diff --git a/sd/util/sdfilt.map b/sd/util/sdfilt.map index 223201489c30..ed43ed59c62c 100644 --- a/sd/util/sdfilt.map +++ b/sd/util/sdfilt.map @@ -3,7 +3,6 @@ UDK_3_0_0 { ExportPPT; ImportPPT; SaveVBA; - component_getImplementationEnvironment; component_getFactory; local: *; -- cgit