diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-01-26 15:03:02 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-02-14 14:20:07 +0100 |
commit | 48a0a30a07fdf301c7c52eaebd5867beecfb1c8a (patch) | |
tree | 51967ddd54f07dfecd1ed7eb90675849738b4ebb | |
parent | e959ec8af33edb13221a89cb253e73b386321fcf (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>
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
Signed-off-by: Cedric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
-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 ); |