summaryrefslogtreecommitdiff
path: root/cppuhelper/source/macro_expander.cxx
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/source/macro_expander.cxx
parent698158655a9e2e74acc065899e668d365c2b4195 (diff)
Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
Diffstat (limited to 'cppuhelper/source/macro_expander.cxx')
-rw-r--r--cppuhelper/source/macro_expander.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx
index 24708d91da19..45742962fb0a 100644
--- a/cppuhelper/source/macro_expander.cxx
+++ b/cppuhelper/source/macro_expander.cxx
@@ -20,6 +20,7 @@
#include <rtl/bootstrap.hxx>
+#include <uno/lbnames.h>
#include <uno/mapping.hxx>
#include <cppuhelper/factory.hxx>
@@ -198,7 +199,7 @@ Reference< lang::XSingleComponentFactory > create_bootstrap_macro_expander_facto
s_get_service_names() ));
uno::Environment curr_env(Environment::getCurrent());
- uno::Environment target_env(rtl::OUString(CPPU_STRINGIFY(CPPU_ENV)));
+ uno::Environment target_env(CPPU_CURRENT_LANGUAGE_BINDING_NAME);
uno::Mapping target2curr(target_env, curr_env);