diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-19 13:24:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-19 15:36:52 +0200 |
commit | ac2c1fb821b45f2382a5104b4d98dc08061ae938 (patch) | |
tree | bcc57c5cf1a9853fffd9792205cbe05aa07a1863 /starmath | |
parent | 4444d5dbe7dba90ccfb0a9eeed36be0abfdd1854 (diff) |
Replace some uses of OUStringChar with string literals
Change-Id: I763f9a3f57efcd47643ca4651e2454e95c6921c9
Reviewed-on: https://gerrit.libreoffice.org/81127
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathtype.cxx | 2 | ||||
-rw-r--r-- | starmath/source/ooxmlimport.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 8d785dde61c8..7fc0daffca63 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 ").append(OUStringChar(0x220b)).append(" "); + rRet.append(" func \u220b "); break; case 0x220f: pC = " prod "; diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx index 4150dcba0209..7ed692b432f4 100644 --- a/starmath/source/ooxmlimport.cxx +++ b/starmath/source/ooxmlimport.cxx @@ -317,9 +317,9 @@ OUString SmOoxmlImport::handleD() opening = "left lbrace "; if( closing == "}" ) closing = " right rbrace"; - if( opening == OUStringChar(0x27e6) ) + if( opening == u"\u27e6" ) opening = "left ldbracket "; - if( closing == OUStringChar(0x27e7) ) + if( closing == u"\u27e7" ) closing = " right rdbracket"; if( opening == "|" ) opening = "left lline "; |