[Libreoffice-commits] .: Branch 'libreoffice-3-3' - sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Feb 11 08:54:37 PST 2011
sw/source/filter/ww8/rtfexport.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 45326ac3017229f7d04f66515502a0da5f9301c5
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>
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