sd/source/ui/slideshow/slideshowimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 20a6f8163ffab9aeed1b2886e771a254a43120ec
Author: Tsutomu Uchino <ha...@apache.org>
Date:   Fri Jan 10 15:30:03 2014 +0000

    #i97129# fix hidden slide shown when going back to previous slide from 
finish screen

diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx 
b/sd/source/ui/slideshow/slideshowimpl.cxx
index 9ceaac2..59b95d4 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -3381,7 +3381,7 @@ void SlideshowImpl::gotoPreviousSlide (const bool 
bSkipAllMainSequenceEffects)
         const ShowWindowMode eMode = mpShowWindow->GetShowWindowMode();
         if( eMode == SHOWWINDOWMODE_END )
         {
-            const sal_Int32 nLastSlideIndex = 
mpSlideController->getSlideIndexCount() - 1;
+            const sal_Int32 nLastSlideIndex = 
mpSlideController->getCurrentSlideIndex();
             if( nLastSlideIndex >= 0 )
                 mpShowWindow->RestartShow( nLastSlideIndex );
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to