[Libreoffice-commits] .: sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Wed Jan 26 06:09:01 PST 2011


 sw/source/filter/ww8/rtfexport.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a37fae128b4badc8f9f2201e28dca3e08948ddec
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Wed Jan 26 15:03:02 2011 +0100

    RtfExport::HackIsWW8OrHigher(): return true (closes fdo#33478)
    
    This makes the exporter use unicode unconditionally when exporting
    accents. This is needed because in case we don't do unicode, we need
    special fonts (see SwWW8AttrIter::OutAttr()), while in RTF we need to
    output the font table before exporting the docuent.
    
    Agreed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx
index dd696ac..0516d72 100644
--- a/sw/source/filter/ww8/rtfexport.hxx
+++ b/sw/source/filter/ww8/rtfexport.hxx
@@ -83,7 +83,7 @@ public:
     virtual RtfSdrExport& SdrExporter() const;
 
     /// Hack, unfortunately necessary at some places for now.
-    virtual bool HackIsWW8OrHigher() const { return false; }
+    virtual bool HackIsWW8OrHigher() const { return true; }
 
     /// Guess the script (asian/western).
     virtual bool CollapseScriptsforWordOk( USHORT nScript, USHORT nWhich );


More information about the Libreoffice-commits mailing list