diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-01-26 15:03:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-11 16:54:31 +0000 |
commit | 45326ac3017229f7d04f66515502a0da5f9301c5 (patch) | |
tree | 51967ddd54f07dfecd1ed7eb90675849738b4ebb | |
parent | 60c297cc61df9ef025312f75ba214b4a8499e959 (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>
Signed-off-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/filter/ww8/rtfexport.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx index 50bd72b5a2..f2667d0743 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 ); |