vcl/source/window/window.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8a3c7d71255adc58cb254fca180ca374ae4b516
Author: Abdulmajeed Al-Abaulrazzaq <[email protected]>
Date:   Wed Nov 28 14:58:52 2012 +0300

    Resolves: fdo#43901 and fdo#42577 RTL tollbars mirroring
    
    Change-Id: I32dd8cdd34965bf8dd31729a79b65d8ee78af7dc
    Reviewed-on: https://gerrit.libreoffice.org/1187
    Reviewed-by: Petr Mladek <[email protected]>
    Tested-by: Petr Mladek <[email protected]>
    (cherry picked from commit aa61177f1d339422acb3322c8851962cd1ca7466)
    
    Signed-off-by: Lior Kaplan <[email protected]>

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 4d33be5..8a39656 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 )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to