summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-10 16:41:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-10 21:01:05 +0100
commit117ecc9870f57c3c211b4bfd35728503e1875743 (patch)
tree2d23e9fb370fb7943099b0aa1fcb6b0d41ebdedc /starmath
parentf2254f11e5e381b959dcaab53a7ddb101a83b561 (diff)
fix coverity parse errors
Change-Id: I4884bfb67a061b865e8cf38b2fea6de0cb1bc3d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109057 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@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 953bfb87f062..8416dc7ba6c3 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -1044,7 +1044,7 @@ void SmXMLExport::ExportAttributes(const SmNode* pNode, int nLevel)
{
//proper entity support required
SvXMLElementExport aMath(*this, XML_NAMESPACE_MATH, XML_MO, true, true);
- static OUStringLiteral const nArse = u"\u00AF";
+ static constexpr OUStringLiteral nArse = u"\u00AF";
GetDocHandler()->characters(nArse);
}
break;
@@ -1052,7 +1052,7 @@ void SmXMLExport::ExportAttributes(const SmNode* pNode, int nLevel)
{
//proper entity support required
SvXMLElementExport aMath(*this, XML_NAMESPACE_MATH, XML_MO, true, true);
- static OUStringLiteral const nArse = u"\u0332";
+ static constexpr OUStringLiteral nArse = u"\u0332";
GetDocHandler()->characters(nArse);
}
break;