summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-04-05 21:15:13 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-04-05 21:17:09 +0200
commit7d2508572a0389bcb1c803911024296f411af653 (patch)
treecfa0f95bf150c77b763908e77fc422ce6efc2a28 /package
parent7a56eef989b828c495d34c34de99d1b863f223e2 (diff)
Fix Prefer prefix ++/-- operators
Includes too replacement < by != for comparison between current and end iterators
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/ohierarchyholder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/ohierarchyholder.cxx b/package/source/xstor/ohierarchyholder.cxx
index c910e516de4c..df8936ca858b 100644
--- a/package/source/xstor/ohierarchyholder.cxx
+++ b/package/source/xstor/ohierarchyholder.cxx
@@ -310,7 +310,7 @@ void OHierarchyElement_Impl::RemoveElement( const ::rtl::Reference< OHierarchyEl
aIter != m_aChildren.end(); /* increment is done in body */)
{
OHierarchyElementList_Impl::iterator aTmpIter = aIter;
- aIter++;
+ ++aIter;
if ( aTmpIter->second == aRef )
m_aChildren.erase( aTmpIter );