sw/source/core/text/blink.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0d40167cec11faee1488397fa323ae4511ac2050
Author: Julien Nabet <serval2...@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;
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to