[Libreoffice-commits] .: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Sep 15 12:21:18 PDT 2012
sw/source/core/text/blink.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0d40167cec11faee1488397fa323ae4511ac2050
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Sep 15 21:19:26 2012 +0200
Fix iterator management
Thank you Markus for your feedback
Change-Id: I10fc6e2be8d648f3be1d2081582c90e27cf3505d
diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx
index c522d63..d3d0507 100644
--- a/sw/source/core/text/blink.cxx
+++ b/sw/source/core/text/blink.cxx
@@ -180,7 +180,7 @@ void SwBlink::FrmDelete( const SwRootFrm* pRoot )
for( SwBlinkList::iterator it = aList.begin(); it != aList.end(); )
{
if( pRoot == (*it).GetRootFrm() )
- aList.erase( it );
+ aList.erase( it++ );
else
++it;
}
More information about the Libreoffice-commits
mailing list