diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-05-10 06:55:10 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-05-10 06:55:10 +0000 |
commit | 6d54f87441730d3c47a7b93cd2968e30b3f761ee (patch) | |
tree | a730e899bd849f0cdc52d762eb8dda79e103333b | |
parent | a2b2516045593d09cc3a720d6de724b468c10cf7 (diff) |
INTEGRATION: CWS swqtrace01 (1.6.22); FILE MERGED
2005/04/21 13:59:13 flr 1.6.22.1: #i47831# problem with utf8 import/export in rtf
-rw-r--r-- | svtools/source/svrtf/rtfout.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx index 025222c29134..7d77d3b1c44e 100644 --- a/svtools/source/svrtf/rtfout.cxx +++ b/svtools/source/svrtf/rtfout.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rtfout.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-03-29 12:40:59 $ + * last change: $Author: rt $ $Date: 2005-05-10 07:55:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -188,7 +188,7 @@ SvStream& RTFOutFuncs::Out_Char(SvStream& rStream, sal_Unicode c, // then write as unicode - character if (*pUCMode != nLen) { - rStream << "\\uc" << ByteString::CreateFromInt32(nLen).GetBuffer(); + rStream << "\\uc" << ByteString::CreateFromInt32(nLen).GetBuffer() << " "; // #i47831# add an additional whitespace, so that "document whitespaces" are not ignored.; *pUCMode = nLen; } ByteString sNo(ByteString::CreateFromInt32(c)); @@ -219,7 +219,7 @@ SvStream& RTFOutFuncs::Out_String( SvStream& rStream, const String& rStr, for (xub_StrLen n = 0; n < rStr.Len(); ++n) Out_Char(rStream, rStr.GetChar(n), &nUCMode, eDestEnc, bWriteHelpFile); if (nUCMode != 1) - rStream << "\\uc1"; + rStream << "\\uc1"<< " "; // #i47831# add an additional whitespace, so that "document whitespaces" are not ignored.; return rStream; } |