oox/source/vml/vmldrawing.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b0d32bfec04f4ab6181f2b329c3df82ea0e47797
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Thu Oct 7 21:28:55 2021 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Fri Oct 8 21:33:22 2021 +0200

    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 <serval2...@yahoo.fr>

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;
         }
     }
 

Reply via email to