diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:54:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:26:54 +0200 |
commit | f5f564bad386bb73d43e432cf23133ea3e408188 (patch) | |
tree | 17e4ded7b712345fd4ed82fdafb74fbd9366cbad /tools | |
parent | 3e0a651f992dc9a230153e4ce65ecc862aec84a8 (diff) |
loplugin:salunicodeliteral: tools
Change-Id: I9b428f4c5ff34a574d13a138cda4444502817e5c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index a052506196f1..513f6c57a478 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -2255,7 +2255,7 @@ bool INetURLObject::setUser(OUString const & rTheUser, nDelta = m_aUser.set(m_aAbsURIRef, aNewUser); else if (m_aHost.isPresent()) { - m_aAbsURIRef.insert(m_aHost.getBegin(), sal_Unicode('@')); + m_aAbsURIRef.insert(m_aHost.getBegin(), u'@'); nDelta = m_aUser.set(m_aAbsURIRef, aNewUser, m_aHost.getBegin()) + 1; } else if (getSchemeInfo().m_bHost) @@ -2310,7 +2310,7 @@ bool INetURLObject::setPassword(OUString const & rThePassword, nDelta = m_aAuth.set(m_aAbsURIRef, aNewAuth); else if (m_aUser.isPresent()) { - m_aAbsURIRef.insert(m_aUser.getEnd(), sal_Unicode(':')); + m_aAbsURIRef.insert(m_aUser.getEnd(), u':'); nDelta = m_aAuth.set(m_aAbsURIRef, aNewAuth, m_aUser.getEnd() + 1) + 1; } @@ -2326,7 +2326,7 @@ bool INetURLObject::setPassword(OUString const & rThePassword, return false; else { - m_aAbsURIRef.insert(m_aPath.getBegin(), sal_Unicode(':')); + m_aAbsURIRef.insert(m_aPath.getBegin(), u':'); m_aUser.set(m_aAbsURIRef, OUString(), m_aPath.getBegin()); nDelta = m_aAuth.set(m_aAbsURIRef, aNewAuth, m_aPath.getBegin() + 1) + 1; @@ -3325,7 +3325,7 @@ bool INetURLObject::setQuery(OUString const & rTheQuery, nDelta = m_aQuery.set(m_aAbsURIRef, aNewQuery); else { - m_aAbsURIRef.insert(m_aPath.getEnd(), sal_Unicode('?')); + m_aAbsURIRef.insert(m_aPath.getEnd(), u'?'); nDelta = m_aQuery.set(m_aAbsURIRef, aNewQuery, m_aPath.getEnd() + 1) + 1; } @@ -3944,7 +3944,7 @@ bool INetURLObject::SetPort(sal_uInt32 nThePort) nDelta = m_aPort.set(m_aAbsURIRef, aNewPort); else { - m_aAbsURIRef.insert(m_aHost.getEnd(), sal_Unicode(':')); + m_aAbsURIRef.insert(m_aHost.getEnd(), u':'); nDelta = m_aPort.set(m_aAbsURIRef, aNewPort, m_aHost.getEnd() + 1) + 1; } |