summaryrefslogtreecommitdiff
path: root/oox/source/vml
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-07 21:28:55 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-08 21:33:22 +0200
commitb0d32bfec04f4ab6181f2b329c3df82ea0e47797 (patch)
tree6f46a70406539bc8cd3bec7cf91b48d0bb21937d /oox/source/vml
parent1cf57765dd9a66982ecf9cd33687005a70c70c3f (diff)
Clean up a bit iterator management in oox/vmldrawing
Change-Id: Icd4f4980332edc3fd9027cc4cace2b4a0d0c1315 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123234 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'oox/source/vml')
-rw-r--r--oox/source/vml/vmldrawing.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/vml/vmldrawing.cxx b/oox/source/vml/vmldrawing.cxx
index d2eab67962f4..1d468fe7b3cd 100644
--- a/oox/source/vml/vmldrawing.cxx
+++ b/oox/source/vml/vmldrawing.cxx
@@ -196,10 +196,10 @@ void Drawing::convertAndInsert() const
{
RadioItr->first->setPropertyValue("GroupName", aGroup );
// If conflict, first created GroupBox wins
- RadioButtonMap.erase( RadioItr++ );
+ RadioItr = RadioButtonMap.erase(RadioItr);
}
else
- RadioItr++;
+ ++RadioItr;
}
}