summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-01-26 02:10:50 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2011-01-26 02:28:13 +0100
commit1482475880c2902d8e041bdc211fc52afd4a7efb (patch)
treea5923fe604ac5811ef2db5aa903a861a56f6b1e2
parentc545e900d1eb0094a81b1f79693bb1ce51923454 (diff)
RTF: escape special characters in style names (partially closes fdo#33478)
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 8ddd27c441..51e3878a8f 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -1092,7 +1092,7 @@ void RtfAttributeOutput::EndStyle()
m_rExport.InsStyle(m_nStyleId, aStyles);
m_aStylesheet.append(aStyles);
m_aStylesheet.append(' ');
- m_aStylesheet.append(OUStringToOString( OUString( m_rStyleName ), m_rExport.eCurrentEncoding ));
+ m_aStylesheet.append(m_rExport.OutString(m_rStyleName, m_rExport.eCurrentEncoding));
m_aStylesheet.append(";}");
m_aStylesheet.append(m_rExport.sNewLine);
}