summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authoros <os@openoffice.org>2011-02-18 09:54:05 +0100
committeros <os@openoffice.org>2011-02-18 09:54:05 +0100
commit8e9bd947865ad7d043e230ebaae5e3aff1d11649 (patch)
treebf60986e3aa5226703db89b14ce605f76729a3a4 /sw/source
parent2fa791c5295f16bbc25ab33a58b9dbb1652108f7 (diff)
os150: #i91166# RTF should exports characters as Unicode
Diffstat (limited to 'sw/source')
-rwxr-xr-x[-rw-r--r--]sw/source/filter/ww8/rtfexport.cxx5
-rwxr-xr-x[-rw-r--r--]sw/source/filter/ww8/rtfexport.hxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 42f0cd0b58..75f5b9f515 100644..100755
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -118,6 +118,11 @@ RtfSdrExport& RtfExport::SdrExporter() const
return *m_pSdrExport;
}
+bool RtfExport::HackIsWW8OrHigher() const
+{
+ return true;
+}
+
bool RtfExport::CollapseScriptsforWordOk( sal_uInt16 nScript, sal_uInt16 nWhich )
{
// FIXME is this actually true for rtf? - this is copied from DOCX
diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx
index b53d634b25..8047cc3214 100644..100755
--- a/sw/source/filter/ww8/rtfexport.hxx
+++ b/sw/source/filter/ww8/rtfexport.hxx
@@ -82,7 +82,7 @@ public:
virtual RtfSdrExport& SdrExporter() const;
/// Hack, unfortunately necessary at some places for now.
- virtual bool HackIsWW8OrHigher() const { return false; }
+ virtual bool HackIsWW8OrHigher() const;
/// Guess the script (asian/western).
virtual bool CollapseScriptsforWordOk( sal_uInt16 nScript, sal_uInt16 nWhich );