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: dev-unsubscr...@openoffice.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org