summaryrefslogtreecommitdiff
path: root/cppuhelper/test/testcmp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-16 16:45:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-16 21:43:12 +0100
commita83b2af9abddfb2a6a127049374269b53241c183 (patch)
treee6c445919c33d0ef9ec5600563961be1e076a6ca /cppuhelper/test/testcmp
parent698158655a9e2e74acc065899e668d365c2b4195 (diff)
Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
Diffstat (limited to 'cppuhelper/test/testcmp')
-rw-r--r--cppuhelper/test/testcmp/TestComponent.cxx3
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);