summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-07-26 11:48:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-07-26 16:00:14 +0200
commita42a7a5d782baf7c8082f064b11cb2192dba07c5 (patch)
treea85b76ee6c1c4ebe24736e97075f83dadd9fd624 /ucb
parentf5b7eb35bfbb80690d6d8191336e14859b9e4d60 (diff)
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@redhat.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonUri.cxx4
-rw-r--r--ucb/source/ucp/webdav-neon/NeonUri.hxx1
-rw-r--r--ucb/source/ucp/webdav-neon/PropfindCache.cxx11
-rw-r--r--ucb/source/ucp/webdav-neon/PropfindCache.hxx2
4 files changed, 0 insertions, 18 deletions
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; };