summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-01-26 15:03:02 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2011-01-26 15:08:41 +0100
commita37fae128b4badc8f9f2201e28dca3e08948ddec (patch)
treeb3415796f361d3bbdd35ab28bf70dcd31c7af719
parentaaa142512395d5d792013deb73bf9eef0b4cc19e (diff)
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@redhat.com>
-rw-r--r--sw/source/filter/ww8/rtfexport.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx
index dd696ac6d3..0516d72803 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 );