[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Sep 10 15:20:22 PDT 2012


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

New commits:
commit 78414991b20d0eac6703e8e3c3e429b747891367
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

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index d823937..873b08b 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1187,7 +1187,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