diff options
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsPageSelector.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx index f397bd5cc345..3e6e9f9959c0 100644 --- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx +++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx @@ -315,11 +315,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) { |