summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-07 08:42:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-07 10:45:05 +0200
commit868d8c8f0fdf376b0a3eb545ee841c9c12ffee3b (patch)
tree7e8b919732f3d73cfb77974c489ee864103b2882 /ucb
parent9479171a09ba4c73afa8b40a5c2590df3b6d5415 (diff)
loplugin:unnecessaryparen handle parens inside call expr
stick to single-arg function calls, sometimes parens in multi-arg calls might be there for clarity Change-Id: Ib80190c571ce65b5d219a88056687042de749e74 Reviewed-on: https://gerrit.libreoffice.org/39676 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/core/ucbstore.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/ContentProperties.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx
index d9e4154e7ed0..05a7a0afc09a 100644
--- a/ucb/source/core/ucbstore.cxx
+++ b/ucb/source/core/ucbstore.cxx
@@ -2000,7 +2000,7 @@ void SAL_CALL PersistentPropertySet::setPropertyValues(
while ( it != end )
{
- notifyPropertyChangeEvent( (*it) );
+ notifyPropertyChangeEvent( *it );
++it;
}
}
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
index cafb01c3aa13..4557a565674c 100644
--- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
@@ -119,7 +119,7 @@ ContentProperties::ContentProperties( const DAVResource& rResource )
while ( it != end )
{
- addProperty( (*it) );
+ addProperty( *it );
++it;
}
@@ -588,7 +588,7 @@ void CachableContentProperties::addProperties(
while ( it != end )
{
if ( isCachable( (*it).Name, (*it).IsCaseSensitive ) )
- m_aProps.addProperty( (*it) );
+ m_aProps.addProperty( *it );
++it;
}