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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 18 06:19:47 PDT 2012


 sc/source/ui/view/gridwin.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 0d26c5e194cceb8a8fcc0878217b07faff1cf8d5
Author: Manal Alhassoun <malhassoun at kacst.edu.sa>
Date:   Tue Sep 11 00:28:26 2012 +0300

    Resolves: fdo#44925 list box contents should be same direction as sheet
    
    list box contents should be same direction/alignment as sheet, not the
    interface
    
    Change-Id: I0b4944c6658fb27dfa7d0c67dd26a7b592329be8
    (cherry picked from commit 78414991b20d0eac6703e8e3c3e429b747891367)
    
    Signed-off-by: Lior Kaplan <kaplanlior at gmail.com>

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 64555e6..d0454c9 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1191,7 +1191,8 @@ void ScGridWindow::LaunchDataSelectMenu( SCCOL nCol, SCROW nRow, bool bDataSelec
     pFilterFloat->SetPopupModeEndHdl( LINK( this, ScGridWindow, PopupModeEndHdl ) );
     pFilterBox = new ScFilterListBox(
         pFilterFloat, this, nCol, nRow, bDataSelect ? SC_FILTERBOX_DATASELECT : SC_FILTERBOX_FILTER );
-    if ( bLayoutRTL )
+    // Fix for bug fdo#44925
+    if (Application::GetSettings().GetLayoutRTL() != bLayoutRTL)
         pFilterBox->EnableMirroring();
 
     nSizeX += 1;


More information about the Libreoffice-commits mailing list