summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdulmajeed Al-Abaulrazzaq <aalabdulrazzaq@kacst.edu.sa>2012-11-28 14:58:52 +0300
committerLior Kaplan <kaplanlior@gmail.com>2012-12-04 20:20:28 +0200
commitb8a3c7d71255adc58cb254fca180ca374ae4b516 (patch)
tree32cc820db425fbecae778b0f84efd737d910747b
parent032d1d3cf5f69c28a39ba7e8a62eb580e545a0d5 (diff)
Resolves: fdo#43901 and fdo#42577 RTL tollbars mirroring
Change-Id: I32dd8cdd34965bf8dd31729a79b65d8ee78af7dc Reviewed-on: https://gerrit.libreoffice.org/1187 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz> (cherry picked from commit aa61177f1d339422acb3322c8851962cd1ca7466) Signed-off-by: Lior Kaplan <kaplanlior@gmail.com>
-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 4d33be511c78..8a39656a47a4 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -777,7 +777,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 )