summaryrefslogtreecommitdiff
path: root/odk/examples/cpp
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-12 16:45:29 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-12 16:45:29 +0200
commitb50137566fbe774ce3fa247044b6572a934561df (patch)
tree22300fdf2faee438ed5e8e4ed92504c87a0fbad2 /odk/examples/cpp
parentfb8168bb555147927c69eaa243bb7d8a3d99c34d (diff)
Remove component_getImplementationEnvironment
Diffstat (limited to 'odk/examples/cpp')
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/exports.cxx10
-rw-r--r--odk/examples/cpp/counter/counter.cxx8
-rw-r--r--odk/examples/cpp/remoteclient/remoteclient.cxx8
3 files changed, 0 insertions, 26 deletions
diff --git a/odk/examples/cpp/complextoolbarcontrols/exports.cxx b/odk/examples/cpp/complextoolbarcontrols/exports.cxx
index 3c1179bd3330..3a576b2e4c7c 100644
--- a/odk/examples/cpp/complextoolbarcontrols/exports.cxx
+++ b/odk/examples/cpp/complextoolbarcontrols/exports.cxx
@@ -56,16 +56,6 @@ namespace css = ::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 )
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.
diff --git a/odk/examples/cpp/remoteclient/remoteclient.cxx b/odk/examples/cpp/remoteclient/remoteclient.cxx
index b15aa94eff57..0c598a0e7252 100644
--- a/odk/examples/cpp/remoteclient/remoteclient.cxx
+++ b/odk/examples/cpp/remoteclient/remoteclient.cxx
@@ -227,14 +227,6 @@ using namespace remotebridges_officeclient;
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 )
{