diff options
Diffstat (limited to 'sw/source/core/text/SwGrammarMarkUp.cxx')
-rw-r--r-- | sw/source/core/text/SwGrammarMarkUp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/SwGrammarMarkUp.cxx b/sw/source/core/text/SwGrammarMarkUp.cxx index b3873d6b7ff9..3e91700a83ea 100644 --- a/sw/source/core/text/SwGrammarMarkUp.cxx +++ b/sw/source/core/text/SwGrammarMarkUp.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -60,7 +60,7 @@ void SwGrammarMarkUp::MoveGrammar( xub_StrLen nPos, long nDiff ) xub_StrLen nEnd = nDiff < 0 ? xub_StrLen(nPos - nDiff) : nPos; while( pIter != maSentence.end() ) { - if( *pIter >= nEnd ) + if( *pIter >= nEnd ) *pIter = xub_StrLen( *pIter + nDiff ); else *pIter = nPos; |