diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/configpaths.cxx | 6 | ||||
-rw-r--r-- | unotools/source/misc/datetime.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/configpaths.cxx b/unotools/source/config/configpaths.cxx index 5739fadac203..ca3c2b94b9a9 100644 --- a/unotools/source/config/configpaths.cxx +++ b/unotools/source/config/configpaths.cxx @@ -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 ); } diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx index b3623ccfffe5..25c4d5ab079b 100644 --- a/unotools/source/misc/datetime.cxx +++ b/unotools/source/misc/datetime.cxx @@ -56,7 +56,7 @@ namespace { // TODO: check overflow! rValue *= 10; - rValue += (rString[nPos] - sal_Unicode('0')); + rValue += (rString[nPos] - u'0'); nPos++; } |