[Libreoffice-commits] core.git: ucb/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jul 26 14:00:41 UTC 2018
ucb/source/ucp/webdav-neon/NeonUri.cxx | 4 ----
ucb/source/ucp/webdav-neon/NeonUri.hxx | 1 -
ucb/source/ucp/webdav-neon/PropfindCache.cxx | 11 -----------
ucb/source/ucp/webdav-neon/PropfindCache.hxx | 2 --
4 files changed, 18 deletions(-)
New commits:
commit a42a7a5d782baf7c8082f064b11cb2192dba07c5
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 26 11:48:29 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 26 16:00:14 2018 +0200
ucb: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)
...by removing explicitly user-provided functions that do the same as their
implicitly-defined counterparts, but may prevent implicitly declared copy
functions from being defined as non-deleted in the future. (Even if such a
user-provided function was declared non-inline in an include file, the
apparently-used implicitly-defined copy functions are already inline, so why
bother with non-inline functions.)
Change-Id: I6cd0ac297240ce868442ab7f8b4f1ba46c68d409
Reviewed-on: https://gerrit.libreoffice.org/58063
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx
index b6ecafc96892..6a825682a6dc 100644
--- a/ucb/source/ucp/webdav-neon/NeonUri.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonUri.cxx
@@ -147,10 +147,6 @@ void NeonUri::init( const OString & rUri, const ne_uri * pUri )
}
}
-NeonUri::~NeonUri( )
-{
-}
-
void NeonUri::calculateURI ()
{
OUStringBuffer aBuf( mScheme );
diff --git a/ucb/source/ucp/webdav-neon/NeonUri.hxx b/ucb/source/ucp/webdav-neon/NeonUri.hxx
index fdd5b4a4afcd..fae505e501f5 100644
--- a/ucb/source/ucp/webdav-neon/NeonUri.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonUri.hxx
@@ -59,7 +59,6 @@ class NeonUri
explicit NeonUri( const OUString & inUri );
/// @throws DAVException
explicit NeonUri( const ne_uri * inUri );
- ~NeonUri( );
bool operator== ( const NeonUri & rOther ) const;
bool operator!= ( const NeonUri & rOther ) const
diff --git a/ucb/source/ucp/webdav-neon/PropfindCache.cxx b/ucb/source/ucp/webdav-neon/PropfindCache.cxx
index b854e6fda323..546c6c8545f7 100644
--- a/ucb/source/ucp/webdav-neon/PropfindCache.cxx
+++ b/ucb/source/ucp/webdav-neon/PropfindCache.cxx
@@ -29,17 +29,6 @@ namespace webdav_ucp
{
}
- PropertyNames::PropertyNames( const PropertyNames& theOther ) :
- m_nStaleTime( theOther.m_nStaleTime ),
- m_sURL( theOther.m_sURL ),
- m_aPropertiesNames( theOther.m_aPropertiesNames )
- {
- }
-
- PropertyNames::~PropertyNames()
- {
- }
-
//PropertyNamesCache implementation
PropertyNamesCache::PropertyNamesCache()
diff --git a/ucb/source/ucp/webdav-neon/PropfindCache.hxx b/ucb/source/ucp/webdav-neon/PropfindCache.hxx
index 76a951afbdcd..d6cb13df6935 100644
--- a/ucb/source/ucp/webdav-neon/PropfindCache.hxx
+++ b/ucb/source/ucp/webdav-neon/PropfindCache.hxx
@@ -42,8 +42,6 @@ namespace webdav_ucp
public:
PropertyNames();
explicit PropertyNames( const OUString& rURL );
- PropertyNames( const PropertyNames& theOther );
- ~PropertyNames();
sal_uInt32 getStaleTime() const { return m_nStaleTime; };
void setStaleTime( const sal_uInt32 nStaleTime ) { m_nStaleTime = nStaleTime; };
More information about the Libreoffice-commits
mailing list