summaryrefslogtreecommitdiff
path: root/desktop/test/deployment/passive/passive_native.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/test/deployment/passive/passive_native.cxx')
-rw-r--r--desktop/test/deployment/passive/passive_native.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/test/deployment/passive/passive_native.cxx b/desktop/test/deployment/passive/passive_native.cxx
index b4f78870752d..8714690ff0d9 100644
--- a/desktop/test/deployment/passive/passive_native.cxx
+++ b/desktop/test/deployment/passive/passive_native.cxx
@@ -51,6 +51,7 @@
#include "cppuhelper/weak.hxx"
#include "rtl/ustring.hxx"
#include "sal/types.h"
+#include "uno/lbnames.h"
namespace {
@@ -248,4 +249,11 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
pImplName, pServiceManager, pRegistryKey, services);
}
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL
+component_getImplementationEnvironment(
+ char const ** ppEnvTypeName, uno_Environment **)
+{
+ *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */