sw/source/core/text/wrong.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ac0926092831f6968b703c5e999b105ccb0bb4b0 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Nov 10 19:06:42 2014 +0100 Update nEndInvalid if it was COMPLETE_STRING Change-Id: I850c9083230f44daa722e7f51dbfa73efd088d25 diff --git a/sw/source/core/text/wrong.cxx b/sw/source/core/text/wrong.cxx index c82d05f..a9d500f 100644 --- a/sw/source/core/text/wrong.cxx +++ b/sw/source/core/text/wrong.cxx @@ -249,7 +249,7 @@ void SwWrongList::_Invalidate( sal_Int32 nBegin, sal_Int32 nEnd ) { if ( nBegin < GetBeginInv() ) nBeginInvalid = nBegin; - if ( nEnd > GetEndInv() ) + if ( nEnd > GetEndInv() || GetEndInv() == COMPLETE_STRING ) nEndInvalid = nEnd; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits