summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-08-11 16:44:37 +0200
committerDavid Tardon <dtardon@redhat.com>2014-08-11 16:47:49 +0200
commit904fdac93b072cc5295cce0360f47926f049e6ea (patch)
tree2b389dab1c04baa36cbd1274a9991ec3bf5c4666 /sd
parent33e94f367a0e2d347f313be4dad4ea8d18eff516 (diff)
fdo#81933 do not select 1st slide unconditionally
This is a regression from commit ad0c4bf5790546242884da0c2ec281f2db9e14a0 . But I do not see why this code would be needed for that either. Change-Id: Ied3a5d25b2bec9542aa83c4d7fa36ed5313fc797
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsPageSelector.cxx5
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)
{