oooforum commented on code in PR #200:
URL: https://github.com/apache/openoffice/pull/200#discussion_r1464537713


##########
main/sd/source/ui/slideshow/slideshowimpl.cxx:
##########
@@ -236,6 +236,17 @@ AnimationSlideController::AnimationSlideController( 
Reference< XIndexAccess > xS
                mnSlideCount = xSlides->getCount();
 }
 
+void AnimationSlideController::setStartSlideNumber( sal_Int32 nSlideNumber )
+{
+       while( ( !maSlideVisible[nSlideNumber] ) 
+                       || ( nSlideNumber > maSlideVisible.size() ) ) 
nSlideNumber++;
+
+       if(nSlideNumber > maSlideVisible.size())
+               mnStartSlideNumber = 0;

Review Comment:
   I don't know because I have no idea what maSlideVisible.size is supposed to 
return.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to