[Libreoffice-commits] .: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 3 09:17:48 PST 2012


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

New commits:
commit aa61177f1d339422acb3322c8851962cd1ca7466
Author: Abdulmajeed Al-Abaulrazzaq <aalabdulrazzaq at kacst.edu.sa>
Date:   Wed Nov 28 14:58:52 2012 +0300

    fdo#43901 & fdo#42577 RTL tollbars mirroring & fdo#56412
    
    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>

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index fd96248..bf7da99 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 )


More information about the Libreoffice-commits mailing list