[Libreoffice-commits] core.git: starmath/source

dante (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 17 16:29:51 UTC 2021


 starmath/source/mathml/export.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 50f4d711337b84baf22536fac99150c116b0c700
Author:     dante <dante19031999 at gmail.com>
AuthorDate: Mon Aug 16 16:48:28 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Aug 17 18:29:16 2021 +0200

    Improvement to ml element exporter
    
    Change-Id: I12303add11406c0ab65ca02084945989f41380d8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120549
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/starmath/source/mathml/export.cxx b/starmath/source/mathml/export.cxx
index e701f017d7e9..57d9626a239c 100644
--- a/starmath/source/mathml/export.cxx
+++ b/starmath/source/mathml/export.cxx
@@ -904,7 +904,7 @@ void SmMlExport::exportMlAttributtes(const SmMlElement* pMlElement)
                 {
                     case SmMlAttributeValueMaxsize::MlInfinity:
                     {
-                        addAttribute(XML_MAXSIZE, OUString(u"infinity"));
+                        addAttribute(XML_MAXSIZE, XML_INFINITY);
                         break;
                     }
                     case SmMlAttributeValueMaxsize::MlFinite:


More information about the Libreoffice-commits mailing list