diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-12 11:07:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-12 14:35:24 +0100 |
commit | 31fffe5538fd8011afa0076fdca39379c28fcff5 (patch) | |
tree | 1254cba1665cac704d93be54ae985e7d4b19a270 /basctl | |
parent | 64bf055db690a4475cf49dc03800619674b891c2 (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 'basctl')
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 6 | ||||
-rw-r--r-- | basctl/source/inc/bastypes.hxx | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index f38ba5d33e8c..006c6b00bc22 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -682,9 +682,6 @@ LibInfo::Key::Key (ScriptDocument const& rDocument, OUString const& rLibName) : m_aDocument(rDocument), m_aLibName(rLibName) { } -LibInfo::Key::~Key () -{ } - bool LibInfo::Key::operator == (Key const& rKey) const { return m_aDocument == rKey.m_aDocument && m_aLibName == rKey.m_aLibName; @@ -706,9 +703,6 @@ LibInfo::Item::Item ( m_eCurrentType(eCurrentType) { } -LibInfo::Item::~Item () -{ } - static bool QueryDel(const OUString& rName, const OUString &rStr, weld::Widget* pParent) { OUString aName = "\'" + rName + "\'"; diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx index 3063c2bd6827..8ac2a4b3a9b1 100644 --- a/basctl/source/inc/bastypes.hxx +++ b/basctl/source/inc/bastypes.hxx @@ -257,7 +257,6 @@ private: public: Key (ScriptDocument const&, OUString const& rLibName); - ~Key (); public: bool operator == (Key const&) const; struct Hash @@ -276,7 +275,6 @@ public: public: Item (OUString const& rCurrentName, ItemType eCurrentType); - ~Item (); const OUString& GetCurrentName() const { return m_aCurrentName; } ItemType GetCurrentType() const { return m_eCurrentType; } }; |