| commit | c4c079d3a72999c7b9cf740f86db9fddaac71ea3 | [log] |
|---|---|---|
| author | Andreas Heinisch <andreas.heinisch@yahoo.de> | Thu Dec 21 20:29:32 2023 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Fri Dec 22 20:30:57 2023 +0100 |
| tree | 9a2650638881deaf53fca9b7a4d5493a3c96c267 | |
| parent | 1f4e1b84722c4387f65614ad7f1765dcddb8aeb9 [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> (cherry picked from commit 19e856aa1ade6686fa495e57386b81cabae47495) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161157 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit a735f64391b5c194b38cacb577f14ef60556bcbc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161162 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 56776d2..b6c7a2b 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();
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 02a23b8..1690269 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx
@@ -715,7 +715,9 @@ void TabBar::ImplFormat() const size_t nItemListSize = mpImpl->maItemList.size(); for (size_t nItemIndex = 0; nItemIndex < nItemListSize; nItemIndex++) { auto& rItem = mpImpl->maItemList[nItemIndex]; // tdf#100584 - arrange sheets depending on the RTL settings auto& rItem = mbMirrored ? mpImpl->maItemList[nItemListSize - nItemIndex - 1] : mpImpl->maItemList[nItemIndex]; // At all non-visible tabs an empty rectangle is set if ((nItemIndex + 1 < mnFirstPos) || (x > mnLastOffX))