diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-29 11:18:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-30 08:43:51 +0200 |
commit | dd8d5e5795358d732a9f7a8af7c35f662321e332 (patch) | |
tree | 9983c2a5f0bc3f2c29133aa57e4ceb510eb68a11 /tools/source/fsys | |
parent | 22f2cf3ccc6d0c9ba2c2860735e789d6b3a25f72 (diff) |
improve loplugin:stringconstant
to find more places we can elide the OUString() constructor at call
sites
Change-Id: Ie09f3c61f2c4b4959c97dc98ebcbaf7c51d5d713
Reviewed-on: https://gerrit.libreoffice.org/71514
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/source/fsys')
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index bd6c25fa66ee..91bdedf699ce 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -2302,8 +2302,7 @@ bool INetURLObject::setPassword(OUString const & rThePassword, } else if (m_aHost.isPresent()) { - m_aAbsURIRef.insert(m_aHost.getBegin(), - OUString( ":@" )); + m_aAbsURIRef.insert(m_aHost.getBegin(), ":@" ); m_aUser.set(m_aAbsURIRef, OUString(), m_aHost.getBegin()); nDelta = m_aAuth.set(m_aAbsURIRef, aNewAuth, m_aHost.getBegin() + 1) + 2; |