From 7d2508572a0389bcb1c803911024296f411af653 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 5 Apr 2012 21:15:13 +0200 Subject: Fix Prefer prefix ++/-- operators Includes too replacement < by != for comparison between current and end iterators --- package/source/xstor/ohierarchyholder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/source/xstor') 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 ); -- cgit