[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 10 10:07:35 PST 2014
sw/source/core/text/wrong.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ac0926092831f6968b703c5e999b105ccb0bb4b0
Author: Stephan Bergmann <sbergman at 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;
}
More information about the Libreoffice-commits
mailing list