starmath/source/mathmlexport.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 2fa55357223595a98c0dbc8bdb917b77a170da80 Author: Stephan Bergmann <[email protected]> AuthorDate: Tue Dec 22 19:53:31 2020 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Wed Dec 23 07:30:59 2020 +0100 Use OUStringChar Change-Id: I4780de855682d252bd12bcf8f0c0c7230098f3a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108213 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index b20c5acd935a..29a25008f9f6 100644 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -646,8 +646,7 @@ void SmXMLExport::ExportBinaryDiagonal(const SmNode* pNode, int nLevel) { // Scoping for <mo> creation SvXMLElementExport aMo(*this, XML_NAMESPACE_MATH, XML_MO, true, true); - sal_Unicode const nArse[2] = { MS_BACKSLASH, 0x00 }; - GetDocHandler()->characters(nArse); + GetDocHandler()->characters(OUStringChar(MS_BACKSLASH)); } ExportNodes(pNode->GetSubNode(1), nLevel); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
