sw/source/core/text/blink.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cf8946d10226272e8a0e6f1b1043b54d4b63db8d Author: Julien Nabet <serval2...@yahoo.fr> Date: Mon Apr 21 10:24:48 2014 +0200 cppcheck: Iterator it used after element has been erased Change-Id: Id0a0b026cd25f210df4bd821c2ca28edf3dee693 Reviewed-on: https://gerrit.libreoffice.org/9110 Tested-by: David Tardon <dtar...@redhat.com> Reviewed-by: David Tardon <dtar...@redhat.com> diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx index 0555322..70b994b 100644 --- a/sw/source/core/text/blink.cxx +++ b/sw/source/core/text/blink.cxx @@ -107,7 +107,7 @@ IMPL_LINK_NOARG(SwBlink, Blinker) ->GetCurrShell()->InvalidateWindows( aRefresh ); } else // Portions without a shell can be removed from the list - aList.erase( it ); + it = aList.erase(it); } } else // If the list is empty, the timer can be stopped _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits