summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorMatus Kukan <matus.kukan@gmail.com>2011-07-03 13:59:22 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-12 11:27:22 +0200
commitd98ac11f3962f39efb1418588c609d03fb7cc37c (patch)
treeef1dd0e217fa3a9527bcf6fe5b3d7a50a82a9070 /package/source
parent2bd57a620ce4bc81a114e38f397c0cb541bf2635 (diff)
Remove component_getImplementationEnvironment
Diffstat (limited to 'package/source')
-rw-r--r--package/source/manifest/UnoRegister.cxx8
-rw-r--r--package/source/xstor/register.cxx5
-rw-r--r--package/source/xstor/xstor.dxp1
3 files changed, 0 insertions, 14 deletions
diff --git a/package/source/manifest/UnoRegister.cxx b/package/source/manifest/UnoRegister.cxx
index d26deb81ec84..c5734977de46 100644
--- a/package/source/manifest/UnoRegister.cxx
+++ b/package/source/manifest/UnoRegister.cxx
@@ -47,14 +47,6 @@ using namespace ::com::sun::star::packages::manifest;
using rtl::OUString;
-// C functions to implement this as a component
-
-extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
- const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
-{
- *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
-}
-
/**
* This function is called to get service factories for an implementation.
* @param pImplName name of implementation
diff --git a/package/source/xstor/register.cxx b/package/source/xstor/register.cxx
index 688d0a9414eb..60ddc68e8712 100644
--- a/package/source/xstor/register.cxx
+++ b/package/source/xstor/register.cxx
@@ -41,11 +41,6 @@ using namespace ::com::sun::star;
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 void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = 0;
diff --git a/package/source/xstor/xstor.dxp b/package/source/xstor/xstor.dxp
index f0e1c69934bc..70033078921a 100644
--- a/package/source/xstor/xstor.dxp
+++ b/package/source/xstor/xstor.dxp
@@ -1,2 +1 @@
-component_getImplementationEnvironment
component_getFactory