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)
// append (escape if needed)
switch(*pCur)
{
case sal_Unicode('&') : aNormalized.append( "&" ); break;
case sal_Unicode('\''): aNormalized.append( "'" ); break;
case sal_Unicode('\"'): aNormalized.append( """ ); break;
case u'&' : aNormalized.append( "&" ); break;
case u'\'': aNormalized.append( "'" ); break;
case u'\"': aNormalized.append( """ ); break;
default: aNormalized.append( *pCur );
}
......
......@@ -56,7 +56,7 @@ namespace
{
// TODO: check overflow!
rValue *= 10;
rValue += (rString[nPos] - sal_Unicode('0'));
rValue += (rString[nPos] - u'0');
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