From ac0926092831f6968b703c5e999b105ccb0bb4b0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 10 Nov 2014 19:06:42 +0100 Subject: Update nEndInvalid if it was COMPLETE_STRING Change-Id: I850c9083230f44daa722e7f51dbfa73efd088d25 --- sw/source/core/text/wrong.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/core/text/wrong.cxx b/sw/source/core/text/wrong.cxx index c82d05fac17f..a9d500fb1c6a 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; } -- cgit