[Libreoffice-commits] .: binfilter/bf_xmloff

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jan 1 12:57:14 PST 2011


 binfilter/bf_xmloff/source/text/xmloff_XMLRedlineExport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e23c708382111e9bbdf189532edbb284c8a8f99a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 1 20:57:09 2011 +0000

    cppcheck: prefer prefix variant

diff --git a/binfilter/bf_xmloff/source/text/xmloff_XMLRedlineExport.cxx b/binfilter/bf_xmloff/source/text/xmloff_XMLRedlineExport.cxx
index 88bcb84..7b1404b 100644
--- a/binfilter/bf_xmloff/source/text/xmloff_XMLRedlineExport.cxx
+++ b/binfilter/bf_xmloff/source/text/xmloff_XMLRedlineExport.cxx
@@ -113,7 +113,7 @@ XMLRedlineExport::~XMLRedlineExport()
     // delete changes lists
     for( ChangesMapType::iterator aIter = aChangeMap.begin();
          aIter != aChangeMap.end();
-         aIter++ )
+         ++aIter )
     {
         delete aIter->second;
     }
@@ -183,7 +183,7 @@ void XMLRedlineExport::ExportChangesList(
             // iterate over changes list
             for( ChangesListType::iterator aIter = pChangesList->begin();
                  aIter != pChangesList->end();
-                 aIter++ )
+                 ++aIter )
             {
                 ExportChangedRegion( *aIter );
             }


More information about the Libreoffice-commits mailing list