summaryrefslogtreecommitdiff
path: root/vcl/source/app/svmain.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-29 17:06:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-30 16:20:56 +0100
commitd07e7d692ddd2a9ab956a59bcc0f676c7d76bc10 (patch)
tree061cd16a65c19d423a96b2d52b097150b4373575 /vcl/source/app/svmain.cxx
parent1156d1b29af15c0d7f1d185f8ce1dc8668940286 (diff)
wait until we know the UI language before initializing gtk
so that we can set LANGUAGE to get RTL mirroring for RTL UI languages even under a LTR system locale Change-Id: I31fce6f1620d7fb35a489c771285b15ba05773df
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r--vcl/source/app/svmain.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index f9d571f85862..fdfe5809b99f 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -282,6 +282,8 @@ bool InitVCL()
// soffice/sfx implementation creates the global service manager
pSVData->mpApp->Init();
+ pSVData->mpDefInst->AfterAppInit();
+
// Fetch AppFileName and make it absolute before the workdir changes...
OUString aExeFileName;
osl_getExecutableFile( &aExeFileName.pData );