editeng/source/lookuptree/Node.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 9d75ea50e7e64b7d282655e986564acb640bf04e Author: Stephan Bergmann <[email protected]> Date: Tue Jul 31 09:15:34 2012 +0200 error: attempt to increment a past-the-end iterator ...when running editeng/CppunitTest_editeng_lookuptree.mk Change-Id: Ida1cbb16965138a42bec9e675b630bcbf2f6617e diff --git a/editeng/source/lookuptree/Node.cxx b/editeng/source/lookuptree/Node.cxx index 6d5e320..2492a88 100644 --- a/editeng/source/lookuptree/Node.cxx +++ b/editeng/source/lookuptree/Node.cxx @@ -56,7 +56,10 @@ void Node::removeChild(Node*& pChild) { i = m_lChildren.erase( i ); } - ++i; + else + { + ++i; + } } } } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
