diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-30 12:22:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-30 12:22:53 +0100 |
commit | d412e969e103253bbc74df8ead9fe3d67ddb53a0 (patch) | |
tree | 2bcd8f2d8a5640fc50586464f21a7faff9b5b640 /vcl/source/app/svmain.cxx | |
parent | 345be1519e96be63624bf58ca5de0fe9abe16edd (diff) |
Revert "make LANGUAGE setting universal, not just gtk specific"
poxy cppunit tests can't use config here
This reverts commit f55eeb7a45998d16eb0fe49088e172ce45ac4f2b.
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r-- | vcl/source/app/svmain.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 0e0a2a9bbbff..2a89d80f60f3 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -318,17 +318,6 @@ bool InitVCL() // soffice/sfx implementation creates the global service manager pSVData->mpApp->Init(); - //Now that uno has been bootstrapped we can ask the config what the UI language is so that we can - //force that in as $LANGUAGE. That way we can get gtk to render widgets RTL - //if we have a RTL UI in an otherwise LTR locale and get gettext using externals (e.g. python) - //to match their translations to our preferred UI language - OUString aLocaleString(Application::GetSettings().GetUILanguageTag().getGlibcLocaleString(".UTF-8")); - if (!aLocaleString.isEmpty()) - { - OUString envVar("LANGUAGE"); - osl_setEnvironment(envVar.pData, aLocaleString.pData); - } - pSVData->mpDefInst->AfterAppInit(); // Fetch AppFileName and make it absolute before the workdir changes... |