[Libreoffice-commits] .: Branch 'libreoffice-3-3-1' - sw/source
Petr Mladek
pmladek at kemper.freedesktop.org
Mon Feb 14 05:21:09 PST 2011
sw/source/filter/ww8/rtfexport.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 48a0a30a07fdf301c7c52eaebd5867beecfb1c8a
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>
Signed-off-by: Caolán McNamara <caolanm at redhat.com>
Signed-off-by: Michael Meeks <michael.meeks at novell.com>
Signed-off-by: Cedric Bosdonnat <cedric.bosdonnat.ooo at free.fr>
diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx
index 50bd72b..f2667d0 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