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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/control/tabbar.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 02a23b8aea33..1690269ba234 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)) |