diff options
author | Stephan Bergmann <sb@openoffice.org> | 2001-10-17 13:35:30 +0000 |
---|---|---|
committer | Stephan Bergmann <sb@openoffice.org> | 2001-10-17 13:35:30 +0000 |
commit | 4fd42e1acfb609fba3c8475faf2621e235e1d6b6 (patch) | |
tree | d94250abd836071680e5bf6b43a7ff4c0fc11191 /sal/textenc/tcvtutf7.c | |
parent | 68932c15d25ea4490aa06cc770c9141ee22ebace (diff) |
#87140# More cleanup.
Diffstat (limited to 'sal/textenc/tcvtutf7.c')
-rw-r--r-- | sal/textenc/tcvtutf7.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sal/textenc/tcvtutf7.c b/sal/textenc/tcvtutf7.c index bd7946ca3..36af08268 100644 --- a/sal/textenc/tcvtutf7.c +++ b/sal/textenc/tcvtutf7.c @@ -2,9 +2,9 @@ * * $RCSfile: tcvtutf7.c,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: sb $ $Date: 2001-10-12 10:44:53 $ + * last change: $Author: sb $ $Date: 2001-10-17 14:35:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,9 @@ #ifndef INCLUDED_RTL_TEXTENC_TENCHELP_H #include "tenchelp.h" #endif +#ifndef INCLUDED_RTL_TEXTENC_UNICHARS_H +#include "unichars.h" +#endif #ifndef _RTL_ALLOC_H #include "rtl/alloc.h" @@ -360,8 +363,8 @@ sal_Size ImplUTF7ToUnicode( const ImplTextConverterData* pData, void* pContext, *pInfo |= RTL_TEXTTOUNICODE_INFO_ERROR | RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOSMALL; break; } - *pDestBuf = RTL_UNICODE_CHAR_DEFAULT; - pDestBuf++; + *pDestBuf++ + = RTL_TEXTENC_UNICODE_REPLACEMENT_CHARACTER; } } @@ -401,8 +404,8 @@ sal_Size ImplUTF7ToUnicode( const ImplTextConverterData* pData, void* pContext, *pInfo |= RTL_TEXTTOUNICODE_INFO_ERROR | RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOSMALL; break; } - *pDestBuf = RTL_UNICODE_CHAR_DEFAULT; - pDestBuf++; + *pDestBuf++ + = RTL_TEXTENC_UNICODE_REPLACEMENT_CHARACTER; } } |