summaryrefslogtreecommitdiffstats
path: root/connectivity/source
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 /connectivity/source
parenthelpcompiler: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9) (diff)
downloadcore-322acaa9ad58f4dc9a7025eacedd748dd2c1a1a1.tar.gz
core-322acaa9ad58f4dc9a7025eacedd748dd2c1a1a1.zip
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 'connectivity/source')
-rw-r--r--connectivity/source/commontools/dbcharset.cxx13
-rw-r--r--connectivity/source/commontools/dbexception.cxx8
-rw-r--r--connectivity/source/parse/sqlnode.cxx5
3 files changed, 0 insertions, 26 deletions
diff --git a/connectivity/source/commontools/dbcharset.cxx b/connectivity/source/commontools/dbcharset.cxx
index 9fc7923dbc70..ebe45c028207 100644
--- a/connectivity/source/commontools/dbcharset.cxx
+++ b/connectivity/source/commontools/dbcharset.cxx
@@ -142,19 +142,6 @@ namespace dbtools
OSL_ENSURE( m_pContainer, "OCharsetMap::CharsetIterator::CharsetIterator : invalid container!" );
}
-
- OCharsetMap::CharsetIterator::CharsetIterator(const CharsetIterator& _rSource)
- :m_pContainer( _rSource.m_pContainer )
- ,m_aPos( _rSource.m_aPos )
- {
- }
-
-
- OCharsetMap::CharsetIterator::~CharsetIterator()
- {
- }
-
-
CharsetIteratorDerefHelper OCharsetMap::CharsetIterator::operator*() const
{
OSL_ENSURE( m_aPos != m_pContainer->m_aEncodings.end(), "OCharsetMap::CharsetIterator::operator*: invalid position!");
diff --git a/connectivity/source/commontools/dbexception.cxx b/connectivity/source/commontools/dbexception.cxx
index 961720f4bc59..718bbdf4d674 100644
--- a/connectivity/source/commontools/dbexception.cxx
+++ b/connectivity/source/commontools/dbexception.cxx
@@ -72,14 +72,6 @@ SQLExceptionInfo::SQLExceptionInfo( const OUString& _rSimpleErrorMessage )
implDetermineType();
}
-
-SQLExceptionInfo::SQLExceptionInfo(const SQLExceptionInfo& _rCopySource)
- :m_aContent(_rCopySource.m_aContent)
- ,m_eType(_rCopySource.m_eType)
-{
-}
-
-
SQLExceptionInfo& SQLExceptionInfo::operator=(const css::sdbc::SQLException& _rError)
{
m_aContent <<= _rError;
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 5b0007f24011..ada5d32d4275 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -209,11 +209,6 @@ SQLParseNodeParameter::SQLParseNodeParameter( const Reference< XConnection >& _r
{
}
-
-SQLParseNodeParameter::~SQLParseNodeParameter()
-{
-}
-
OUString OSQLParseNode::convertDateString(const SQLParseNodeParameter& rParam, const OUString& rString)
{
Date aDate = DBTypeConversion::toDate(rString);