summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/cppuhelper/interfacecontainer.h2
-rw-r--r--sw/inc/dbgoutsw.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index 2a88f39e5648..151ff6f81424 100644
--- a/include/cppuhelper/interfacecontainer.h
+++ b/include/cppuhelper/interfacecontainer.h
@@ -410,7 +410,7 @@ private:
equalImpl equal;
if( equal( iter->first, rKey ) )
break;
- iter++;
+ ++iter;
}
return iter;
}
diff --git a/sw/inc/dbgoutsw.hxx b/sw/inc/dbgoutsw.hxx
index 5fcf8af7460b..e70d032ff803 100644
--- a/sw/inc/dbgoutsw.hxx
+++ b/sw/inc/dbgoutsw.hxx
@@ -84,7 +84,7 @@ OUString lcl_dbg_out(const std::unordered_map<tKey, tMember, fHashFunction> & rM
typename std::unordered_map<tKey, tMember, fHashFunction>::const_iterator aIt;
- for (aIt = rMap.begin(); aIt != rMap.end(); aIt++)
+ for (aIt = rMap.begin(); aIt != rMap.end(); ++aIt)
{
if (aIt != rMap.begin())
aResult += ", ";