summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManal Alhassoun <malhassoun@kacst.edu.sa>2012-09-11 00:28:26 +0300
committerLior Kaplan <kaplanlior@gmail.com>2012-10-18 14:56:28 +0200
commit0d26c5e194cceb8a8fcc0878217b07faff1cf8d5 (patch)
treeabef67713f071fae69ee434d0b25d06f80f65a72
parent1bc15304a3fb44399ebd3861f6ee5fc12197a969 (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 (cherry picked from commit 78414991b20d0eac6703e8e3c3e429b747891367) Signed-off-by: Lior Kaplan <kaplanlior@gmail.com>
-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 64555e68c2bb..d0454c93ec81 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;