Author: hanya
Date: Mon Jan 20 12:03:42 2014
New Revision: 1559671
URL: http://svn.apache.org/r1559671
Log:
#i122221# fix slide selected in Slide Pane with Page Up
The comment in the removed part says to call SelectPage to make
the slide visible. But the following NotifyCurrentSlideChange method
calls SelectPage for the page makes it visible if the pane is not updated yet.
Modified:
openoffice/trunk/main/sd/source/ui/slidesorter/controller/SlsListener.cxx
Modified:
openoffice/trunk/main/sd/source/ui/slidesorter/controller/SlsListener.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/slidesorter/controller/SlsListener.cxx?rev=1559671&r1=1559670&r2=1559671&view=diff
==============================================================================
--- openoffice/trunk/main/sd/source/ui/slidesorter/controller/SlsListener.cxx
(original)
+++ openoffice/trunk/main/sd/source/ui/slidesorter/controller/SlsListener.cxx
Mon Jan 20 12:03:42 2014
@@ -501,11 +501,6 @@ void SAL_CALL Listener::propertyChange (
String(RTL_CONSTASCII_USTRINGPARAM("Number")));
sal_Int32 nCurrentPage = 0;
aPageNumber >>= nCurrentPage;
- // The selection is already set but we call SelectPage()
- // 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);
}
catch (beans::UnknownPropertyException aEvent)