summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-22 20:14:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-23 09:14:01 +0100
commitb5c532154cb974de04f2a430712cd947e1bcc98a (patch)
tree51bba487fffc62a4d197aa15238fd298883487cf /starmath
parent1edf1871079518f90e447c3de9df0c4ef5e1e3e4 (diff)
Use char16_t string literals
Change-Id: I0a8b577957ac1d4cad5fc1163f244012a8391a77 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108216 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 29a25008f9f6..85365ad7bbd3 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -1042,7 +1042,7 @@ void SmXMLExport::ExportAttributes(const SmNode* pNode, int nLevel)
{
//proper entity support required
SvXMLElementExport aMath(*this, XML_NAMESPACE_MATH, XML_MO, true, true);
- sal_Unicode const nArse[2] = { 0xAF, 0x00 };
+ sal_Unicode const nArse[2] = u"\u00AF";
GetDocHandler()->characters(nArse);
}
break;
@@ -1050,7 +1050,7 @@ void SmXMLExport::ExportAttributes(const SmNode* pNode, int nLevel)
{
//proper entity support required
SvXMLElementExport aMath(*this, XML_NAMESPACE_MATH, XML_MO, true, true);
- sal_Unicode const nArse[2] = { 0x0332, 0x00 };
+ sal_Unicode const nArse[2] = u"\u0332";
GetDocHandler()->characters(nArse);
}
break;