diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-09-04 11:07:32 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-09-04 12:04:08 +0200 |
commit | 56aad75c12180a10ca47740e319a947682559a70 (patch) | |
tree | bee29c412b94e07a00d30b6c7bac2de451705146 /sw/source/filter | |
parent | 31845d927b1da39123691c769d277cc59d075387 (diff) |
RTF export: don't output RTF_IGNORE before RTF_CS outside stylesheet table
That causes old readers not supporting character styles ignoring the
text having the character style as well. (See the RTF spec v1.9.1 page
24.)
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index ab89690d97f9..f4d3adaeea8a 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -2305,7 +2305,7 @@ void RtfAttributeOutput::TextCharFormat( const SwFmtCharFmt& rCharFmt ) OSL_TRACE("%s", OSL_THIS_FUNC); sal_uInt16 nStyle = m_rExport.GetId( *rCharFmt.GetCharFmt() ); - m_aStyles.append(OOO_STRING_SVTOOLS_RTF_IGNORE OOO_STRING_SVTOOLS_RTF_CS); + m_aStyles.append(OOO_STRING_SVTOOLS_RTF_CS); m_aStyles.append((sal_Int32)nStyle); OString* pString = m_rExport.GetStyle(nStyle); if (pString) |