summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManal Alhassoun <malhassoun@kacst.edu.sa>2012-09-11 00:28:26 +0300
committerCaolán McNamara <caolanm@redhat.com>2012-09-10 23:16:52 +0100
commit78414991b20d0eac6703e8e3c3e429b747891367 (patch)
tree214979a771a2ee03b58adeeaecc6e755689db117
parentd1c1cce4ec0222ac50f9f78ddf5f4ce7aa7377ab (diff)
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
-rw-r--r--sc/source/ui/view/gridwin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index d823937afbc3..873b08b48396 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;