summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/source/core/doc/docsort.cxx8
-rw-r--r--sw/source/core/inc/docsort.hxx2
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx8
-rw-r--r--sw/source/filter/ww8/ww8toolbar.hxx2
4 files changed, 0 insertions, 20 deletions
diff --git a/sw/source/core/doc/docsort.cxx b/sw/source/core/doc/docsort.cxx
index 75e432a701c0..d30249802487 100644
--- a/sw/source/core/doc/docsort.cxx
+++ b/sw/source/core/doc/docsort.cxx
@@ -187,10 +187,6 @@ SwSortTextElement::SwSortTextElement(const SwNodeIndex& rPos)
{
}
-SwSortTextElement::~SwSortTextElement()
-{
-}
-
OUString SwSortTextElement::GetKey(sal_uInt16 nId) const
{
SwTextNode* pTextNd = aPos.GetNode().GetTextNode();
@@ -226,10 +222,6 @@ SwSortBoxElement::SwSortBoxElement( sal_uInt16 nRC )
{
}
-SwSortBoxElement::~SwSortBoxElement()
-{
-}
-
/// Get Key for a cell
OUString SwSortBoxElement::GetKey(sal_uInt16 nKey) const
{
diff --git a/sw/source/core/inc/docsort.hxx b/sw/source/core/inc/docsort.hxx
index 392cb8785e60..4bfdfc3143a8 100644
--- a/sw/source/core/inc/docsort.hxx
+++ b/sw/source/core/inc/docsort.hxx
@@ -103,7 +103,6 @@ struct SwSortTextElement : public SwSortElement
SwNodeIndex aPos;
SwSortTextElement( const SwNodeIndex& rPos );
- virtual ~SwSortTextElement() override;
virtual OUString GetKey( sal_uInt16 nKey ) const override;
};
@@ -114,7 +113,6 @@ struct SwSortBoxElement : public SwSortElement
sal_uInt16 const nRow;
SwSortBoxElement( sal_uInt16 nRC );
- virtual ~SwSortBoxElement() override;
virtual OUString GetKey( sal_uInt16 nKey ) const override;
virtual double GetValue( sal_uInt16 nKey ) const override;
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx
index 5d34c76fee6e..cde6d4070d12 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -220,10 +220,6 @@ Customization::Customization( SwCTBWrapper* wrapper )
{
}
-Customization::~Customization()
-{
-}
-
bool Customization::Read( SvStream &rS)
{
SAL_INFO("sw.ww8","Customization::Read() stream pos 0x" << std::hex << rS.Tell() );
@@ -488,10 +484,6 @@ SwTBC::SwTBC()
{
}
-SwTBC::~SwTBC()
-{
-}
-
bool SwTBC::Read( SvStream &rS )
{
SAL_INFO("sw.ww8","SwTBC::Read() stream pos 0x" << std::hex << rS.Tell() );
diff --git a/sw/source/filter/ww8/ww8toolbar.hxx b/sw/source/filter/ww8/ww8toolbar.hxx
index bc6a232abc66..346c39535a09 100644
--- a/sw/source/filter/ww8/ww8toolbar.hxx
+++ b/sw/source/filter/ww8/ww8toolbar.hxx
@@ -35,7 +35,6 @@ class SwTBC : public TBBase
public:
SwTBC();
- virtual ~SwTBC() override;
bool Read(SvStream &rS) override;
bool ImportToolBarControl( SwCTBWrapper&, const css::uno::Reference< css::container::XIndexContainer >&, CustomToolBarImportHelper&, bool );
OUString GetCustomText();
@@ -116,7 +115,6 @@ class Customization : public TBBase
public:
explicit Customization( SwCTBWrapper* rapper );
- virtual ~Customization() override;
bool Read(SvStream &rS) override;
bool ImportCustomToolBar( SwCTBWrapper&, CustomToolBarImportHelper& );
bool ImportMenu( SwCTBWrapper&, CustomToolBarImportHelper& );