diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2023-10-31 15:39:13 +0100 |
---|---|---|
committer | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2023-10-31 15:40:01 +0100 |
commit | 3be361d00eb1d61543e2c8c6953e63c149fb1eb0 (patch) | |
tree | 981ca55751c7586938f4fe2d70b3801debf51fa7 /sc | |
parent | a90d89d5b2dae2b4c3fd6a411de2160a3bf20779 (diff) |
Revert "tdf#100584, tdff#157784 - Arrange sheets depending on the RTL settings"
This reverts commit a90d89d5b2dae2b4c3fd6a411de2160a3bf20779.
Reason for revert: Typo in the commit message
Change-Id: I58f184e2733d91aa827396868fb4f7b8e9d47a48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158693
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.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 25d60abc2946..d158516fdb0a 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -280,8 +280,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(); |