summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-03-28 17:31:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-03-28 23:28:45 +0200
commit37dc769a410ba99c81066658b343562ee7fd1466 (patch)
tree4eee9a1c393297599f54f9443f58047b280c6743 /sd/source
parent468ccb89e246744c740bc1efd5a33249d08dd1b2 (diff)
-Werror,-Wunused-but-set-variable
...ever since c97f9af5e47ea234ad709a1f66c1e8ed20640066 "tdf#129708 speed-up: reuse enumeration for each effect" Change-Id: Ice1a613676f25e3a63a3479548538d33f1b5ee47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132236 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/source')
-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;