diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-12-01 14:38:11 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-12-07 14:47:10 +0100 |
commit | 5799813f5b95c984b15a348c33daa2103fd09b1b (patch) | |
tree | 613d83fab3845a4bb5c87081c070ac91e3f14f38 /starmath | |
parent | 'copyright text to see as text in the soffice binary' deleted (diff) | |
download | core-5799813f5b95c984b15a348c33daa2103fd09b1b.tar.gz core-5799813f5b95c984b15a348c33daa2103fd09b1b.zip |
properly xml-escape written text in docx formula
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/ooxmlexport.cxx | 2 |
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 |