[Libreoffice-commits] core.git: package/source
Julien Nabet
serval2412 at yahoo.fr
Tue Aug 27 23:40:05 PDT 2013
package/source/xstor/ohierarchyholder.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 9ebcd5ec54ec5d77cf46849f7f00bf915644f6e1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Wed Aug 28 08:39:26 2013 +0200
End iterator might not be const
Change-Id: I95c0999903762e79e606fdae7fd11b1ce79fe8d0
diff --git a/package/source/xstor/ohierarchyholder.cxx b/package/source/xstor/ohierarchyholder.cxx
index 8edec16..bbd54da 100644
--- a/package/source/xstor/ohierarchyholder.cxx
+++ b/package/source/xstor/ohierarchyholder.cxx
@@ -291,8 +291,7 @@ void OHierarchyElement_Impl::RemoveElement( const ::rtl::Reference< OHierarchyEl
{
::osl::MutexGuard aGuard( m_aMutex );
OHierarchyElementList_Impl::iterator aIter = m_aChildren.begin();
- const OHierarchyElementList_Impl::const_iterator aEnd = m_aChildren.end();
- while (aIter != aEnd)
+ while (aIter != m_aChildren.end())
{
if (aIter->second == aRef )
aIter = m_aChildren.erase(aIter);
More information about the Libreoffice-commits
mailing list