diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
commit | 3735d9d387398fd90ab63ce2b1367dd154bd0fb9 (patch) | |
tree | 1e9e71bcaf766edbcdde3e54149c816da72ccd13 /i18npool/source/breakiterator/xdictionary.cxx | |
parent | 1bed162a7494769275db0831810f51069415881f (diff) |
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r-- | i18npool/source/breakiterator/xdictionary.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 58f3ee12fd5f..301dac5622fd 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xdictionary.cxx,v $ - * $Revision: 1.18 $ + * $Revision: 1.18.22.1 $ * * This file is part of OpenOffice.org. * @@ -164,13 +164,13 @@ sal_Bool SAL_CALL xdictionary::seekSegment(const sal_Unicode *text, sal_Int32 po for (segBoundary.startPos = pos - 1; segBoundary.startPos >= 0 && (u_isWhitespace((sal_uInt32)text[segBoundary.startPos]) || exists(text[segBoundary.startPos])); - segBoundary.startPos--); + segBoundary.startPos--) ; segBoundary.startPos++; for (segBoundary.endPos = pos; segBoundary.endPos < len && (u_isWhitespace((sal_uInt32)text[segBoundary.endPos]) || exists(text[segBoundary.endPos])); - segBoundary.endPos++); + segBoundary.endPos++) ; return segBoundary.endPos > segBoundary.startPos + 1; } |