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 --- animations/source/animcore/factreg.cxx | 6 ------ 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 - slideshow/source/engine/OGLTrans/exports.dxp | 1 - slideshow/util/exports.dxp | 3 +-- 8 files changed, 2 insertions(+), 34 deletions(-) diff --git a/animations/source/animcore/factreg.cxx b/animations/source/animcore/factreg.cxx index 3d8adff6fe72..ac58a68d24e9 100644 --- a/animations/source/animcore/factreg.cxx +++ b/animations/source/animcore/factreg.cxx @@ -79,12 +79,6 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) return g_moduleCount.canUnload( &g_moduleCount , pTime ); } -//================================================================================================== -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, void * pRegistryKey ) 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: *; diff --git a/slideshow/source/engine/OGLTrans/exports.dxp b/slideshow/source/engine/OGLTrans/exports.dxp index f0e1c69934bc..70033078921a 100644 --- a/slideshow/source/engine/OGLTrans/exports.dxp +++ b/slideshow/source/engine/OGLTrans/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/slideshow/util/exports.dxp b/slideshow/util/exports.dxp index 0cb5620a1603..70033078921a 100644 --- a/slideshow/util/exports.dxp +++ b/slideshow/util/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment -component_getFactory \ No newline at end of file +component_getFactory -- cgit v1.2.3