diff options
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index ea64b247f8fb..5b4ff943ec2e 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -2468,7 +2468,7 @@ void CustomAnimationPane::onDragNDropComplete(std::vector< CustomAnimationEffect mpMainSequence->moveToBeforeEffect( pEffect, pEffectInsertBefore ); // Done moving effect and its hidden sub-effects when *next* effect is visible. - if ( mpCustomAnimationList->isVisible( *aIter ) ) + if (aIter != aEnd && mpCustomAnimationList->isVisible(*aIter)) break; } |