summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component_context.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/component_context.cxx
parent698158655a9e2e74acc065899e668d365c2b4195 (diff)
Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r--cppuhelper/source/component_context.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index ab2ebf91ae71..8f722f0a90d3 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -37,6 +37,7 @@
#include <rtl/ustrbuf.hxx>
+#include <uno/lbnames.h>
#include <uno/mapping.hxx>
#include <cppuhelper/implbase1.hxx>
@@ -859,7 +860,7 @@ Reference< XComponentContext > SAL_CALL createComponentContext(
SAL_THROW(())
{
uno::Environment curr_env(Environment::getCurrent());
- uno::Environment source_env(rtl::OUString(CPPU_STRINGIFY(CPPU_ENV)));
+ uno::Environment source_env(CPPU_CURRENT_LANGUAGE_BINDING_NAME);
uno::Mapping curr2source(curr_env, source_env);
uno::Mapping source2curr(source_env, curr_env);