summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-07 15:12:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-07 15:12:38 +0100
commitf2b70baa6343f8c4ac2b4102a9fe62f79aa7870b (patch)
tree38bceaed64aedee74822a6bfb3ee691b967d41da /ucb
parent575b100ef0a5c89c56d2c646fe7076766fb9f2c5 (diff)
loplugin:unnecessaryparen
Change-Id: I924034417bcb19a6e535f8dc427c63ff11356b23
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/DAVResourceAccess.cxx2
-rw-r--r--ucb/source/ucp/webdav/webdavcontentcaps.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/DAVResourceAccess.cxx b/ucb/source/ucp/webdav/DAVResourceAccess.cxx
index 6ff0458dd2fa..90001a818645 100644
--- a/ucb/source/ucp/webdav/DAVResourceAccess.cxx
+++ b/ucb/source/ucp/webdav/DAVResourceAccess.cxx
@@ -1071,7 +1071,7 @@ void DAVResourceAccess::resetUri()
{
std::vector< SerfUri >::const_iterator it = m_aRedirectURIs.begin();
- SerfUri aUri( (*it) );
+ SerfUri aUri( *it );
m_aRedirectURIs.clear();
setURL ( aUri.GetURI() );
initialize();
diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx
index 35df067ecadc..21703fab2da1 100644
--- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx
+++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx
@@ -241,7 +241,7 @@ bool ContentProvider::getProperty(
const PropertyMap::const_iterator it = m_pProps->find( aProp );
if ( it != m_pProps->end() )
{
- rProp = (*it);
+ rProp = *it;
}
else
{