[Libreoffice-commits] .: svtools/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Mon Jul 11 12:09:43 PDT 2011


 svtools/source/svrtf/rtfout.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 230d8ece99df741fc4e7e6e2b5e18a4716f8587c
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Mon Jul 11 21:07:06 2011 +0200

    Remove unused RTFOutFuncs::Out_Fontname

diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx
index ce0e809..688d606 100644
--- a/svtools/source/svrtf/rtfout.cxx
+++ b/svtools/source/svrtf/rtfout.cxx
@@ -180,17 +180,6 @@ SvStream& RTFOutFuncs::Out_String( SvStream& rStream, const String& rStr,
     return rStream;
 }
 
-SvStream& RTFOutFuncs::Out_Fontname(SvStream& rStream, const String& rStr,
-    rtl_TextEncoding eDestEnc, sal_Bool bWriteHelpFile)
-{
-    //Fontnames in word have a quirk in that \uc and usage of ansi replacement
-    //chars after a \u don't work and in wordpad \u doesn't work, so we are
-    //left with forcing ansi characters only for fontnames
-    for (xub_StrLen n = 0; n < rStr.Len(); ++n)
-        Out_Char(rStream, rStr.GetChar(n), 0, eDestEnc, bWriteHelpFile);
-    return rStream;
-}
-
 SvStream& RTFOutFuncs::Out_Hex( SvStream& rStream, sal_uLong nHex, sal_uInt8 nLen )
 {
     sal_Char aNToABuf[] = "0000000000000000";


More information about the Libreoffice-commits mailing list