diff options
author | Andreas Martens <ama@openoffice.org> | 2002-02-20 14:43:47 +0000 |
---|---|---|
committer | Andreas Martens <ama@openoffice.org> | 2002-02-20 14:43:47 +0000 |
commit | fda271b6994b1e0ed93f72c4324e3c744eab7682 (patch) | |
tree | 8314d1ec979bee4ddcc4a1001fe39cf69883637e /sw | |
parent | db8a03de6f027252f08e7fa7b06d36f8ebad3b83 (diff) |
Fix: The next word depends on the locale of the next character
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/swcrsr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx index 14bccb47ee59..f66c6d77b8eb 100644 --- a/sw/source/core/crsr/swcrsr.cxx +++ b/sw/source/core/crsr/swcrsr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: swcrsr.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: ama $ $Date: 2002-02-20 15:06:36 $ + * last change: $Author: ama $ $Date: 2002-02-20 15:43:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1216,7 +1216,7 @@ FASTBOOL SwCursor::GoNextWord() nPtPos = (xub_StrLen)pBreakIt->xBreak->nextWord( pTxtNd->GetTxt(), nPtPos, - pBreakIt->GetLocale( pTxtNd->GetLang( nPtPos ) ), + pBreakIt->GetLocale( pTxtNd->GetLang( nPtPos, 1 ) ), WordType::ANYWORD_IGNOREWHITESPACES ).startPos; if( 0 <= nPtPos && nPtPos < pTxtNd->GetTxt().Len() ) |