summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-22 19:53:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-23 07:30:59 +0100
commit2fa55357223595a98c0dbc8bdb917b77a170da80 (patch)
treedb4742c68ac1f75e1c2c276962f72efdb2551b4e /starmath
parentcfab2f5ee4724d5759e7aa000234a4bd309c3e2d (diff)
Use OUStringChar
Change-Id: I4780de855682d252bd12bcf8f0c0c7230098f3a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108213 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlexport.cxx3
1 files changed, 1 insertions, 2 deletions
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);