[Libreoffice-commits] .: Branch 'libreoffice-3-6' - vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 4 10:22:37 PST 2012


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

New commits:
commit b8a3c7d71255adc58cb254fca180ca374ae4b516
Author: Abdulmajeed Al-Abaulrazzaq <aalabdulrazzaq at kacst.edu.sa>
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 <pmladek at suse.cz>
    Tested-by: Petr Mladek <pmladek at suse.cz>
    (cherry picked from commit aa61177f1d339422acb3322c8851962cd1ca7466)
    
    Signed-off-by: Lior Kaplan <kaplanlior at gmail.com>

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 )


More information about the Libreoffice-commits mailing list