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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 21 08:51:17 UTC 2019


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

New commits:
commit 06845c14a17146b0ec50dd3704b6af9ee13927bc
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Oct 21 09:45:16 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Oct 21 10:50:11 2019 +0200

    This should have become a UTF-16 string literal
    
    ...in ac2c1fb821b45f2382a5104b4d98dc08061ae938 "Replace some uses of
    OUStringChar with string literals".  Thanks to Mike Kaganski for spotting the
    error!
    
    Change-Id: I2651b00594a0d049f2f5f91c6167a4b1acbf471f
    Reviewed-on: https://gerrit.libreoffice.org/81208
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 7fc0daffca63..cd33f289dda7 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -316,7 +316,7 @@ bool MathType::LookupChar(sal_Unicode nChar,OUStringBuffer &rRet,sal_uInt8 nVers
             rRet.append(" func ").append(OUStringChar(nChar)).append(" ");
             break;
         case 0x220d: // owns
-            rRet.append(" func \u220b ");
+            rRet.append(u" func \u220b ");
             break;
         case 0x220f:
             pC = " prod ";


More information about the Libreoffice-commits mailing list