summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorAbdulmajeed Al-Abaulrazzaq <aalabdulrazzaq@kacst.edu.sa>2012-11-28 14:58:52 +0300
committerPetr Mladek <pmladek@suse.cz>2012-12-03 17:17:29 +0000
commitaa61177f1d339422acb3322c8851962cd1ca7466 (patch)
treeb82c789b480c4d5ce31425a0a262b3dce156c909 /vcl/source/window
parent3f53b0f637de1d7b70229eddb418b0c235097822 (diff)
fdo#43901 & fdo#42577 RTL tollbars mirroring & fdo#56412
Change-Id: I32dd8cdd34965bf8dd31729a79b65d8ee78af7dc Reviewed-on: https://gerrit.libreoffice.org/1187 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index fd96248026f1..bf7da997cf5a 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -778,7 +778,7 @@ void Window::ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSyste
}
if( pParent && ! mpWindowImpl->mbFrame )
- mbEnableRTL = pParent->mbEnableRTL;
+ mbEnableRTL = Application::GetSettings().GetLayoutRTL();
// test for frame creation
if ( mpWindowImpl->mbFrame )