summaryrefslogtreecommitdiff
path: root/cppuhelper/test
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
parent698158655a9e2e74acc065899e668d365c2b4195 (diff)
Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
Diffstat (limited to 'cppuhelper/test')
-rw-r--r--cppuhelper/test/bootstrap/bootstrap.test.cxx1
-rw-r--r--cppuhelper/test/testcmp/TestComponent.cxx3
2 files changed, 3 insertions, 1 deletions
diff --git a/cppuhelper/test/bootstrap/bootstrap.test.cxx b/cppuhelper/test/bootstrap/bootstrap.test.cxx
index 27ae9ed2813e..7c566d93fd99 100644
--- a/cppuhelper/test/bootstrap/bootstrap.test.cxx
+++ b/cppuhelper/test/bootstrap/bootstrap.test.cxx
@@ -29,6 +29,7 @@
#include <com/sun/star/lang/XComponent.hpp>
#include "uno/environment.hxx"
+#include <uno/lbnames.h>
#include "cppu/EnvDcp.hxx"
#include "cppu/EnvGuards.hxx"
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);