summaryrefslogtreecommitdiff
path: root/odk/examples/cpp/counter/counter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/cpp/counter/counter.cxx')
-rw-r--r--odk/examples/cpp/counter/counter.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/odk/examples/cpp/counter/counter.cxx b/odk/examples/cpp/counter/counter.cxx
index 0f5c80c1a036..f8b32f28e56b 100644
--- a/odk/examples/cpp/counter/counter.cxx
+++ b/odk/examples/cpp/counter/counter.cxx
@@ -166,14 +166,6 @@ Reference< XInterface > SAL_CALL MyCounterImpl_create(
/**
- * Gives the environment this component belongs to.
- */
-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 creates an implementation section in the registry and another subkey
*
* for each supported service.