summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-12 17:53:48 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-12 17:59:13 +0200
commita90983bd658b6f69a353ccdf0d332ed280b69711 (patch)
treeaf1364059594ed162c721c3cd29810567b2c8ec8 /linguistic
parent01ea434011fdf868c612539179bb30aedb0495d0 (diff)
Remove component_getImplementationEnvironment methods
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngreg.cxx8
-rwxr-xr-xlinguistic/source/makefile.mk1
-rwxr-xr-xlinguistic/workben/exports.dxp1
-rw-r--r--linguistic/workben/sreg.cxx6
4 files changed, 0 insertions, 16 deletions
diff --git a/linguistic/source/lngreg.cxx b/linguistic/source/lngreg.cxx
index 3ddf8f1ee046..34048e555c51 100644
--- a/linguistic/source/lngreg.cxx
+++ b/linguistic/source/lngreg.cxx
@@ -75,17 +75,9 @@ extern void * SAL_CALL GrammarCheckingIterator_getFactory
);
-// definition of the two functions that are used to provide the services
-
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 )
{
diff --git a/linguistic/source/makefile.mk b/linguistic/source/makefile.mk
index 5a24ac41303c..5d6909e57f96 100755
--- a/linguistic/source/makefile.mk
+++ b/linguistic/source/makefile.mk
@@ -93,7 +93,6 @@ DEF1DES =Linguistic main DLL
.IF "$(GUI)"=="WNT"
DEF1EXPORT1 = component_getFactory
-DEF1EXPORT2 = component_getImplementationEnvironment
.ENDIF
# --- Targets ------------------------------------------------------
diff --git a/linguistic/workben/exports.dxp b/linguistic/workben/exports.dxp
index b0f85bf7bebf..86214860d555 100755
--- a/linguistic/workben/exports.dxp
+++ b/linguistic/workben/exports.dxp
@@ -1,3 +1,2 @@
component_getFactory
-component_getImplementationEnvironment
component_writeInfo
diff --git a/linguistic/workben/sreg.cxx b/linguistic/workben/sreg.cxx
index 85e218da1ef5..af9c20102244 100644
--- a/linguistic/workben/sreg.cxx
+++ b/linguistic/workben/sreg.cxx
@@ -59,12 +59,6 @@ sal_Bool SAL_CALL component_writeInfo(
return SpellChecker_writeInfo( pServiceManager, pRegistryKey );
}
-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 )
{