summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2011-12-16 19:29:35 +0100
committerThorsten Behrens <tbehrens@suse.com>2011-12-17 00:29:00 +0100
commit45a570f55b66c992d7dd1fccfae4424a40d624d5 (patch)
tree2f772c21a78d243a4f287b362e36ea0131310366 /sd
parent33a6a9e9a4a3238887a533ada7b67b7727a27271 (diff)
Fix assertion in PageSelector::CheckConsistency()
Seems the recent merge from impress210 brought an inconsistency in slide selection - shuffle calls to make it go away.
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsListener.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsListener.cxx b/sd/source/ui/slidesorter/controller/SlsListener.cxx
index df67a539a52d..fdd01a47552e 100644
--- a/sd/source/ui/slidesorter/controller/SlsListener.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsListener.cxx
@@ -509,8 +509,8 @@ void SAL_CALL Listener::propertyChange (
// nevertheless in order to make the new current page the
// last recently selected page of the PageSelector. This is
// used when making the selection visible.
- mrController.GetPageSelector().SelectPage(nCurrentPage-1);
mrController.GetCurrentSlideManager()->NotifyCurrentSlideChange(nCurrentPage-1);
+ mrController.GetPageSelector().SelectPage(nCurrentPage-1);
}
catch (beans::UnknownPropertyException&)
{