summaryrefslogtreecommitdiff
path: root/sal/textenc/convertiso2022jp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/convertiso2022jp.c')
-rw-r--r--sal/textenc/convertiso2022jp.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/sal/textenc/convertiso2022jp.c b/sal/textenc/convertiso2022jp.c
index 5df268a183df..624dc644ac72 100644
--- a/sal/textenc/convertiso2022jp.c
+++ b/sal/textenc/convertiso2022jp.c
@@ -2,9 +2,9 @@
*
* $RCSfile: convertiso2022jp.c,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hr $ $Date: 2004-02-04 13:51:30 $
+ * last change: $Author: rt $ $Date: 2004-06-17 11:41:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -300,11 +300,9 @@ sal_Size ImplConvertIso2022JpToUnicode(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:
eState = IMPL_ISO_2022_JP_TO_UNICODE_STATE_ASCII;
@@ -332,11 +330,9 @@ sal_Size ImplConvertIso2022JpToUnicode(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: