diff options
Diffstat (limited to 'cppuhelper/test/testcmp/TestComponent.cxx')
-rw-r--r-- | cppuhelper/test/testcmp/TestComponent.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cppuhelper/test/testcmp/TestComponent.cxx b/cppuhelper/test/testcmp/TestComponent.cxx index 999417a57a24..3e5db32d0ad3 100644 --- a/cppuhelper/test/testcmp/TestComponent.cxx +++ b/cppuhelper/test/testcmp/TestComponent.cxx @@ -40,6 +40,7 @@ #include "cppu/EnvDcp.hxx" #include <uno/environment.hxx> +#include <uno/lbnames.h> using namespace ::com::sun::star; @@ -222,7 +223,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnviro else { char buff[256]; - strcpy(buff, CPPU_STRINGIFY(CPPU_ENV)); + strcpy(buff, CPPU_CURRENT_LANGUAGE_BINDING_NAME); strcat(buff, purpose.getStr()); *envTypeName = strdup(buff); |