summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/core/CustomAnimationEffect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 9af6a3f648d6..069439c64592 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -2179,7 +2179,7 @@ bool EffectSequenceHelper::getParagraphNumberingLevels( const Reference< XShape
if( xEnumeration.is() )
{
- for( sal_Int32 index = 0; xEnumeration->hasMoreElements(); index++ )
+ while( xEnumeration->hasMoreElements() )
{
Reference< XPropertySet > xParaSet;
xEnumeration->nextElement() >>= xParaSet;