diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:17:06 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:17:06 +0000 |
commit | 32b27f6d57a3af14baa8b7a0e6194160d489af1d (patch) | |
tree | 0fe74c3f084c79d85f3a29863ac56e55cbd612a9 /sal | |
parent | INTEGRATION: CWS sb79 (1.10.76); FILE MERGED (diff) | |
download | core-32b27f6d57a3af14baa8b7a0e6194160d489af1d.tar.gz core-32b27f6d57a3af14baa8b7a0e6194160d489af1d.zip |
INTEGRATION: CWS sb79 (1.13.190); FILE MERGED
2007/09/26 13:44:42 sb 1.13.190.1: #i78840# ImplEUCJPToUnicode erroneously added RTL_TEXTTOUNICODE_INFO_ERROR to RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/textenc/tcvtmb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/textenc/tcvtmb.c b/sal/textenc/tcvtmb.c index 5522c4d82b22..01224289c0b9 100644 --- a/sal/textenc/tcvtmb.c +++ b/sal/textenc/tcvtmb.c @@ -4,9 +4,9 @@ * * $RCSfile: tcvtmb.c,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: hr $ $Date: 2006-06-20 04:38:02 $ + * last change: $Author: ihi $ $Date: 2007-11-23 13:17:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -442,7 +442,7 @@ sal_Size ImplEUCJPToUnicode( const ImplTextConverterData* pData, /* Source buffer to small */ if ( pSrcBuf + 1 == pEndSrcBuf ) { - *pInfo |= RTL_TEXTTOUNICODE_INFO_ERROR | RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL; + *pInfo |= RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL; break; } @@ -466,7 +466,7 @@ sal_Size ImplEUCJPToUnicode( const ImplTextConverterData* pData, /* Source buffer to small */ if (pEndSrcBuf - pSrcBuf < 3) { - *pInfo |= RTL_TEXTTOUNICODE_INFO_ERROR | RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL; + *pInfo |= RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL; break; } @@ -483,7 +483,7 @@ sal_Size ImplEUCJPToUnicode( const ImplTextConverterData* pData, /* Source buffer to small */ if ( pSrcBuf + 1 == pEndSrcBuf ) { - *pInfo |= RTL_TEXTTOUNICODE_INFO_ERROR | RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL; + *pInfo |= RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL; break; } |