diff options
author | Malte Timmermann <mt@openoffice.org> | 2002-11-20 11:16:19 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2002-11-20 11:16:19 +0000 |
commit | 510e2477b435d33f5b87fb8b140d40733ecb2658 (patch) | |
tree | 9482d020c8d882b3a3a9aaa40a0ce13827c3de19 /svx/source/editeng/editdoc.cxx | |
parent | #105356# dbg output for tabs (diff) | |
download | core-510e2477b435d33f5b87fb8b140d40733ecb2658.tar.gz core-510e2477b435d33f5b87fb8b140d40733ecb2658.zip |
#104985# Fixed bug in FindAttrib
Diffstat (limited to 'svx/source/editeng/editdoc.cxx')
-rw-r--r-- | svx/source/editeng/editdoc.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/editeng/editdoc.cxx b/svx/source/editeng/editdoc.cxx index 520a3739e1eb..178702b2573d 100644 --- a/svx/source/editeng/editdoc.cxx +++ b/svx/source/editeng/editdoc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: editdoc.cxx,v $ * - * $Revision: 1.34 $ + * $Revision: 1.35 $ * - * last change: $Author: mt $ $Date: 2002-11-08 12:16:38 $ + * last change: $Author: mt $ $Date: 2002-11-20 12:16:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2023,7 +2023,7 @@ EditCharAttrib* CharAttribList::FindAttrib( USHORT nWhich, USHORT nPos ) // => Das startende gilt... USHORT nAttr = aAttribs.Count()-1; EditCharAttrib* pAttr = GetAttrib( aAttribs, nAttr ); - while ( pAttr && ( pAttr->GetEnd() >= nPos ) ) + while ( pAttr ) { if ( ( pAttr->Which() == nWhich ) && pAttr->IsIn(nPos) ) return pAttr; |