summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-12-01 14:38:11 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-12-07 14:47:10 +0100
commit5799813f5b95c984b15a348c33daa2103fd09b1b (patch)
tree613d83fab3845a4bb5c87081c070ac91e3f14f38 /starmath
parent76aad07712e639494c07e837f1419af444df28a5 (diff)
properly xml-escape written text in docx formula
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ooxmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx
index d3d7c058816e..b84fd385aaa3 100644
--- a/starmath/source/ooxmlexport.cxx
+++ b/starmath/source/ooxmlexport.cxx
@@ -268,7 +268,7 @@ void SmOoxmlExport::HandleText( const SmNode* pNode, int /*nLevel*/)
*pS << sal_uInt8(nFace+128); //typeface
#endif
sal_uInt16 nChar = pTemp->GetText().GetChar(i);
- m_pSerializer->write( rtl::OUString( Convert(nChar)));
+ m_pSerializer->writeEscaped( rtl::OUString( Convert(nChar)));
#if 0
//Mathtype can only have these sort of character