summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2023-12-21 20:29:32 +0100
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2023-12-21 20:32:22 +0100
commit19e856aa1ade6686fa495e57386b81cabae47495 (patch)
tree376531a653d743da6dc50f780edda897ad512354 /sc
parent71c555c5ae31d84dff8d9448fd2be4dab23f20a8 (diff)
Revert "tdf#100584, tdf#157784 - Arrange sheets depending on the RTL settings"
This reverts commit 4f1b3c16f5530a2a190cab07c07c7bf63acf42c7. Reason for revert: To many regressions. Change-Id: I7352bb3c192d5e6c72e95c387ee551764007e97b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161152 Tested-by: Andreas Heinisch <andreas.heinisch@yahoo.de> Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabview.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index f580198f9bfc..44c74c5455a7 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -281,8 +281,7 @@ void ScTabView::DoResize( const Point& rOffset, const Size& rSize, bool bInner )
if (bHasHint)
RemoveHintWindow();
- // tdf#100584 - arrange sheets depending on the RTL settings
- bool bLayoutRTL = AllSettings::GetLayoutRTL();
+ bool bLayoutRTL = aViewData.GetDocument().IsLayoutRTL( aViewData.GetTabNo() );
tools::Long nTotalWidth = rSize.Width();
if ( bLayoutRTL )
nTotalWidth += 2*rOffset.X();