diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:55:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:26:56 +0200 |
commit | 740cf511036cdf881a521a79218d3dcc29422db3 (patch) | |
tree | 9eaa8ec35c47e144dc5dac59ef438bd46a0100e6 /starmath/source/node.cxx | |
parent | c22ecc18674a8f9f41afa9f6b1364989b18147d7 (diff) |
loplugin:salunicodeliteral: starmath
Change-Id: Ic02e71ccb2d5fe2e3505853c6e164f17e26361b2
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 2907ca4bd5b1..3327d8c57b80 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2348,7 +2348,7 @@ SmMathSymbolNode::SmMathSymbolNode(const SmToken &rNodeToken) : SmSpecialNode(SmNodeType::Math, rNodeToken, FNT_MATH) { sal_Unicode cChar = GetToken().cMathChar; - if (sal_Unicode('\0') != cChar) + if (u'\0' != cChar) SetText(OUString(cChar)); } @@ -2570,7 +2570,7 @@ static bool lcl_IsFromGreekSymbolSet( const OUString &rTokenText ) bool bRes = false; // valid symbol name needs to have a '%' at pos 0 and at least an additional char - if (rTokenText.getLength() > 2 && rTokenText[0] == sal_Unicode('%')) + if (rTokenText.getLength() > 2 && rTokenText[0] == u'%') { OUString aName( rTokenText.copy(1) ); SmSym *pSymbol = SM_MOD()->GetSymbolManager().GetSymbolByName( aName ); |