diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-10 16:41:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-10 21:01:05 +0100 |
commit | 117ecc9870f57c3c211b4bfd35728503e1875743 (patch) | |
tree | 2d23e9fb370fb7943099b0aa1fcb6b0d41ebdedc /starmath | |
parent | f2254f11e5e381b959dcaab53a7ddb101a83b561 (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.cxx | 4 |
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; |