summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-07-26 12:05:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-07-27 08:19:22 +0200
commit322acaa9ad58f4dc9a7025eacedd748dd2c1a1a1 (patch)
treec20e5d8053d11e40ae15ccadbf6d425ca96fb403 /include/connectivity
parent4084f9332956b93f009bb1ab50e1708ce90312ff (diff)
connectivity: 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: Idb59d19dcf5e0873780959797daeb438cbb38ae7 Reviewed-on: https://gerrit.libreoffice.org/58072 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/dbcharset.hxx3
-rw-r--r--include/connectivity/dbexception.hxx2
-rw-r--r--include/connectivity/sqlnode.hxx1
3 files changed, 0 insertions, 6 deletions
diff --git a/include/connectivity/dbcharset.hxx b/include/connectivity/dbcharset.hxx
index 0830c1d00862..a4a4abe43a33 100644
--- a/include/connectivity/dbcharset.hxx
+++ b/include/connectivity/dbcharset.hxx
@@ -127,9 +127,6 @@ namespace dbtools
OCharsetMap::TextEncBag::const_iterator m_aPos;
public:
- CharsetIterator(const CharsetIterator& _rSource);
- ~CharsetIterator();
-
CharsetIteratorDerefHelper operator*() const;
// no -> operator
// this would require us to a) store CharsetIteratorDerefHelper instances ourself so that we
diff --git a/include/connectivity/dbexception.hxx b/include/connectivity/dbexception.hxx
index e273cf8cb14c..e016e7f7e1b5 100644
--- a/include/connectivity/dbexception.hxx
+++ b/include/connectivity/dbexception.hxx
@@ -82,8 +82,6 @@ public:
*/
SQLExceptionInfo( const OUString& _rSimpleErrorMessage );
- SQLExceptionInfo(const SQLExceptionInfo& _rCopySource);
-
// use for events got via XSQLErrorListener::errorOccured
SQLExceptionInfo(const css::uno::Any& _rError);
// use with the Reason member of an SQLErrorEvent or with NextElement of an SQLException
diff --git a/include/connectivity/sqlnode.hxx b/include/connectivity/sqlnode.hxx
index e2198499baed..1b5ef59392c3 100644
--- a/include/connectivity/sqlnode.hxx
+++ b/include/connectivity/sqlnode.hxx
@@ -103,7 +103,6 @@ namespace connectivity
bool _bPredicate,
bool _bParseToSDBC
);
- ~SQLParseNodeParameter();
};
//= OSQLParseNode