diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-13 13:26:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-15 09:11:34 +0200 |
commit | d3c008fb7e5d604bc09a23b79598734a7e506489 (patch) | |
tree | 7c0c7be20977a5626ce5a45de7cc42418fdbdf4d /svtools/source/svrtf | |
parent | a2669bccb89b3882bca4535a23f1c9ac31a485ad (diff) |
convert include/svtools/rtfout.hxx from String to OUString
and remove dead function.
Change-Id: I0c2bf9409f747e98f9575c5861a8629435e27af4
Diffstat (limited to 'svtools/source/svrtf')
-rw-r--r-- | svtools/source/svrtf/rtfout.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx index 64a9a8b48c9f..8ed05f77e2b8 100644 --- a/svtools/source/svrtf/rtfout.cxx +++ b/svtools/source/svrtf/rtfout.cxx @@ -156,12 +156,12 @@ SvStream& RTFOutFuncs::Out_Char(SvStream& rStream, sal_Unicode c, return rStream; } -SvStream& RTFOutFuncs::Out_String( SvStream& rStream, const String& rStr, +SvStream& RTFOutFuncs::Out_String( SvStream& rStream, const OUString& rStr, rtl_TextEncoding eDestEnc, sal_Bool bWriteHelpFile) { int nUCMode = 1; - for (xub_StrLen n = 0; n < rStr.Len(); ++n) - Out_Char(rStream, rStr.GetChar(n), &nUCMode, eDestEnc, bWriteHelpFile); + for (sal_Int32 n = 0; n < rStr.getLength(); ++n) + Out_Char(rStream, rStr[n], &nUCMode, eDestEnc, bWriteHelpFile); if (nUCMode != 1) rStream << "\\uc1"<< " "; // #i47831# add an additional whitespace, so that "document whitespaces" are not ignored.; return rStream; |