diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-06-17 10:39:51 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-06-17 10:39:51 +0000 |
commit | 932f678f3ce06910e7913420c732afd5e945b7af (patch) | |
tree | adc17c064ed635e6c9379127021c8b8f414522bb /sal/textenc | |
parent | 6525167449fffb7d975fb4caf52fc6b1226f72d6 (diff) |
INTEGRATION: CWS sb17 (1.3.28); FILE MERGED
2004/04/05 15:35:57 sb 1.3.28.1: #i25672# Extended ImplHandleBadInputMbTextToUnicodeConversion to single-byte scenarios.
Diffstat (limited to 'sal/textenc')
-rw-r--r-- | sal/textenc/convertbig5hkscs.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/sal/textenc/convertbig5hkscs.c b/sal/textenc/convertbig5hkscs.c index 2b224efc6e44..3f5f98acfaca 100644 --- a/sal/textenc/convertbig5hkscs.c +++ b/sal/textenc/convertbig5hkscs.c @@ -2,9 +2,9 @@ * * $RCSfile: convertbig5hkscs.c,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2004-02-04 13:50:18 $ + * last change: $Author: rt $ $Date: 2004-06-17 11:39:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -272,11 +272,9 @@ sal_Size ImplConvertBig5HkscsToUnicode(ImplTextConverterData const * pData, continue; bad_input: - switch (ImplHandleBadInputMbTextToUnicodeConversion(bUndefined, - nFlags, - &pDestBufPtr, - pDestBufEnd, - &nInfo)) + switch (ImplHandleBadInputTextToUnicodeConversion( + bUndefined, sal_True, 0, nFlags, &pDestBufPtr, pDestBufEnd, + &nInfo)) { case IMPL_BAD_INPUT_STOP: nRow = 0; @@ -304,11 +302,9 @@ sal_Size ImplConvertBig5HkscsToUnicode(ImplTextConverterData const * pData, if ((nFlags & RTL_TEXTTOUNICODE_FLAGS_FLUSH) == 0) nInfo |= RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL; else - switch (ImplHandleBadInputMbTextToUnicodeConversion(sal_False, - nFlags, - &pDestBufPtr, - pDestBufEnd, - &nInfo)) + switch (ImplHandleBadInputTextToUnicodeConversion( + sal_False, sal_True, 0, nFlags, &pDestBufPtr, + pDestBufEnd, &nInfo)) { case IMPL_BAD_INPUT_STOP: case IMPL_BAD_INPUT_CONTINUE: |