This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push:
new 81e9a8ba22 Revert "123197: Fixed selection problems when switching
between normal and master mode."
81e9a8ba22 is described below
commit 81e9a8ba224341a42666e4e7d1417db67eab393a
Author: mseidel <[email protected]>
AuthorDate: Thu Jun 13 21:22:44 2024 +0200
Revert "123197: Fixed selection problems when switching between normal and
master mode."
This reverts commit feee4947275740b80b2c4c243c34e6e0bdb02436.
---
main/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx | 5 -----
1 file changed, 5 deletions(-)
diff --git a/main/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
b/main/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
index d4d82b1dc4..0da93988ad 100644
--- a/main/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
+++ b/main/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
@@ -406,11 +406,6 @@ void PageSelector::UpdateCurrentPage (const bool
bUpdateOnlyWhenPending)
break;
}
}
- if ( ! pCurrentPageDescriptor && nPageCount>0)
- {
- // No page is selected. Make the first slide the current page.
- pCurrentPageDescriptor = mrModel.GetPageDescriptor(0);
- }
if (pCurrentPageDescriptor)
{