diff options
Diffstat (limited to 'sw/source/core/text/wrong.cxx')
-rw-r--r-- | sw/source/core/text/wrong.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/text/wrong.cxx b/sw/source/core/text/wrong.cxx index 0bd7d126ebf2..f77d9635a7c2 100644 --- a/sw/source/core/text/wrong.cxx +++ b/sw/source/core/text/wrong.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 @@ -42,7 +42,7 @@ /************************************************************************* * SwWrongList::SwWrongList() *************************************************************************/ -SwWrongList::SwWrongList( WrongListType eType ) : +SwWrongList::SwWrongList( WrongListType eType ) : meType (eType), nBeginInvalid(STRING_LEN), // everything correct... (the invalid area starts beyond the string) nEndInvalid (STRING_LEN) @@ -133,7 +133,7 @@ sal_Bool SwWrongList::Check( xub_StrLen &rChk, xub_StrLen &rLn ) const if( nEnd == rChk ) { ++nPos; - if( nPos == Count() ) + if( nPos == Count() ) return sal_False; else { @@ -259,7 +259,7 @@ void SwWrongList::_Invalidate( xub_StrLen nBegin, xub_StrLen nEnd ) } void SwWrongList::SetInvalid( xub_StrLen nBegin, xub_StrLen nEnd ) -{ +{ nBeginInvalid = nBegin; nEndInvalid = nEnd; } @@ -403,7 +403,7 @@ void SwWrongList::Invalidate( xub_StrLen nBegin, xub_StrLen nEnd ) { if (STRING_LEN == GetBeginInv()) SetInvalid( nBegin, nEnd ); - else + else _Invalidate( nBegin, nEnd ); } |