[Libreoffice-commits] .: binfilter/bf_xmloff

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


 binfilter/bf_xmloff/source/core/xmloff_DocumentSettingsContext.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 69480c34d2a06d1681aed6547ceca60533858975
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 1 20:46:40 2011 +0000

    cppcheck: prefer prefix variant

diff --git a/binfilter/bf_xmloff/source/core/xmloff_DocumentSettingsContext.cxx b/binfilter/bf_xmloff/source/core/xmloff_DocumentSettingsContext.cxx
index 0bb8d54..1a66c0e 100644
--- a/binfilter/bf_xmloff/source/core/xmloff_DocumentSettingsContext.cxx
+++ b/binfilter/bf_xmloff/source/core/xmloff_DocumentSettingsContext.cxx
@@ -101,8 +101,8 @@ uno::Sequence<beans::PropertyValue> XMLMyList::GetSequence()
         while (aItr != aProps.end())
         {
             *pProps = *aItr;
-            pProps++;
-            aItr++;
+            ++pProps;
+            ++aItr;
         }
     }
     return aSeq;
@@ -126,7 +126,7 @@ uno::Reference<container::XNameContainer> XMLMyList::GetNameContainer()
             while (aItr != aProps.end())
             {
                 xNameContainer->insertByName(aItr->Name, aItr->Value);
-                aItr++;
+                ++aItr;
             }
         }
     }
@@ -151,8 +151,8 @@ uno::Reference<container::XIndexContainer> XMLMyList::GetIndexContainer()
             while (aItr != aProps.end())
             {
                 xIndexContainer->insertByIndex(i, aItr->Value);
-                aItr++;
-                i++;
+                ++aItr;
+                ++i;
             }
         }
     }


More information about the Libreoffice-commits mailing list