Kaydet (Commit) f7663313 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:salunicodeliteral: unotools

Change-Id: I187ff986a4a6bd494629b903a409305fe7bf28db
üst ef2c0e73
...@@ -250,9 +250,9 @@ OUString lcl_wrapName(const OUString& _sContent, const OUString& _sType) ...@@ -250,9 +250,9 @@ OUString lcl_wrapName(const OUString& _sContent, const OUString& _sType)
// append (escape if needed) // append (escape if needed)
switch(*pCur) switch(*pCur)
{ {
case sal_Unicode('&') : aNormalized.append( "&" ); break; case u'&' : aNormalized.append( "&" ); break;
case sal_Unicode('\''): aNormalized.append( "'" ); break; case u'\'': aNormalized.append( "'" ); break;
case sal_Unicode('\"'): aNormalized.append( """ ); break; case u'\"': aNormalized.append( """ ); break;
default: aNormalized.append( *pCur ); default: aNormalized.append( *pCur );
} }
......
...@@ -56,7 +56,7 @@ namespace ...@@ -56,7 +56,7 @@ namespace
{ {
// TODO: check overflow! // TODO: check overflow!
rValue *= 10; rValue *= 10;
rValue += (rString[nPos] - sal_Unicode('0')); rValue += (rString[nPos] - u'0');
nPos++; nPos++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment