summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-12 11:07:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-12 14:35:24 +0100
commit31fffe5538fd8011afa0076fdca39379c28fcff5 (patch)
tree1254cba1665cac704d93be54ae985e7d4b19a270 /sc
parent64bf055db690a4475cf49dc03800619674b891c2 (diff)
Remove some redundant user-provided dtors
...which silences various -Wdeprecated-copy-dtor warnings from Clang 10 trunk about copy functions being implicitly defined as non-deleted even though the class has a user-declared dtor Change-Id: I3409d403c3c709de4ad94eccbc2d7869e41847cc Reviewed-on: https://gerrit.libreoffice.org/85032 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dpgroup.hxx1
-rw-r--r--sc/source/core/data/dpgroup.cxx4
-rw-r--r--sc/source/filter/excel/xistring.cxx4
-rw-r--r--sc/source/filter/inc/xcl97rec.hxx1
-rw-r--r--sc/source/filter/inc/xistring.hxx2
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx4
-rw-r--r--sc/source/filter/xml/XMLStylesExportHelper.cxx4
-rw-r--r--sc/source/filter/xml/XMLStylesExportHelper.hxx1
8 files changed, 0 insertions, 21 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx
index f109dd7bfd12..da7e9c078524 100644
--- a/sc/inc/dpgroup.hxx
+++ b/sc/inc/dpgroup.hxx
@@ -40,7 +40,6 @@ class ScDPGroupItem
public:
ScDPGroupItem( const ScDPItemData& rName );
- ~ScDPGroupItem();
void AddElement( const ScDPItemData& rName );
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index 026d1a2639b7..a97ce449649c 100644
--- a/sc/source/core/data/dpgroup.cxx
+++ b/sc/source/core/data/dpgroup.cxx
@@ -306,10 +306,6 @@ ScDPGroupItem::ScDPGroupItem( const ScDPItemData& rName ) :
{
}
-ScDPGroupItem::~ScDPGroupItem()
-{
-}
-
void ScDPGroupItem::AddElement( const ScDPItemData& rName )
{
aElements.push_back( rName );
diff --git a/sc/source/filter/excel/xistring.cxx b/sc/source/filter/excel/xistring.cxx
index 80b2e5140c21..f0878a6171fd 100644
--- a/sc/source/filter/excel/xistring.cxx
+++ b/sc/source/filter/excel/xistring.cxx
@@ -38,10 +38,6 @@ XclImpString::XclImpString( const OUString& rString ) :
{
}
-XclImpString::~XclImpString()
-{
-}
-
void XclImpString::Read( XclImpStream& rStrm, XclStrFlags nFlags )
{
if( !( nFlags & XclStrFlags::SeparateFormats ) )
diff --git a/sc/source/filter/inc/xcl97rec.hxx b/sc/source/filter/inc/xcl97rec.hxx
index 0999f0ea3dd2..049f4aa57bee 100644
--- a/sc/source/filter/inc/xcl97rec.hxx
+++ b/sc/source/filter/inc/xcl97rec.hxx
@@ -397,7 +397,6 @@ private:
protected:
public:
ExcEScenario( const XclExpRoot& rRoot, SCTAB nTab );
- virtual ~ExcEScenario() override;
virtual sal_uInt16 GetNum() const override;
virtual std::size_t GetLen() const override;
diff --git a/sc/source/filter/inc/xistring.hxx b/sc/source/filter/inc/xistring.hxx
index 0d97b4c89357..6364f0a2eff9 100644
--- a/sc/source/filter/inc/xistring.hxx
+++ b/sc/source/filter/inc/xistring.hxx
@@ -36,8 +36,6 @@ public:
/** Constructs an unformatted string. */
explicit XclImpString( const OUString& rString );
- ~XclImpString();
-
/** Reads a complete string from the passed stream. */
void Read( XclImpStream& rStrm, XclStrFlags nFlags = XclStrFlags::NONE );
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index d05afbf27334..219e0f6d7905 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -1404,10 +1404,6 @@ ExcEScenario::ExcEScenario( const XclExpRoot& rRoot, SCTAB nTab )
}
}
-ExcEScenario::~ExcEScenario()
-{
-}
-
bool ExcEScenario::Append( sal_uInt16 nCol, sal_uInt16 nRow, const OUString& rTxt )
{
if( aCells.size() == EXC_SCEN_MAXCELL )
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx
index 400495d122e6..5c3b9b5163f1 100644
--- a/sc/source/filter/xml/XMLStylesExportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx
@@ -57,10 +57,6 @@ ScMyValidation::ScMyValidation()
{
}
-ScMyValidation::~ScMyValidation()
-{
-}
-
bool ScMyValidation::IsEqual(const ScMyValidation& aVal) const
{
return aVal.bIgnoreBlanks == bIgnoreBlanks &&
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx
index 3bcea80b36df..6a8dd5462ffe 100644
--- a/sc/source/filter/xml/XMLStylesExportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx
@@ -54,7 +54,6 @@ struct ScMyValidation
bool bIgnoreBlanks;
ScMyValidation();
- ~ScMyValidation();
bool IsEqual(const ScMyValidation& aVal) const;
};