[Libreoffice-commits] core.git: ucb/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Dec 7 14:13:25 UTC 2018


 ucb/source/ucp/webdav/DAVResourceAccess.cxx |    2 +-
 ucb/source/ucp/webdav/webdavcontentcaps.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f2b70baa6343f8c4ac2b4102a9fe62f79aa7870b
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Dec 7 15:12:38 2018 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Dec 7 15:12:38 2018 +0100

    loplugin:unnecessaryparen
    
    Change-Id: I924034417bcb19a6e535f8dc427c63ff11356b23

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
     {


More information about the Libreoffice-commits mailing list