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 /scaddins | |
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 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 4 | ||||
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 1 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 4 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.hxx | 1 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.cxx | 4 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.hxx | 1 |
6 files changed, 0 insertions, 15 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 87a9cbb8d8ce..799f1b801f0e 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -1362,10 +1362,6 @@ FuncData::FuncData(const FuncDataBase& r) : aCompList[1] = OUString(r.pCompListID[1], strlen(r.pCompListID[1]), RTL_TEXTENCODING_UTF8); } -FuncData::~FuncData() -{ -} - sal_uInt16 FuncData::GetStrIndex( sal_uInt16 nParamNum ) const { if( !bWithOpt ) diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index 627315bb11f6..99a840a95678 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -216,7 +216,6 @@ private: public: FuncData(const FuncDataBase& rBaseData); - ~FuncData(); inline const char* GetUINameID() const; inline const char** GetDescrID() const; diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 595ae5dd279a..f566f3055b6a 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -71,10 +71,6 @@ ScaFuncData::ScaFuncData(const ScaFuncDataBase& rBaseData) : aCompList.push_back(OUString::createFromAscii(rBaseData.pCompListID[1])); } -ScaFuncData::~ScaFuncData() -{ -} - sal_uInt16 ScaFuncData::GetStrIndex( sal_uInt16 nParam ) const { if( !bWithOpt ) diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 967837e35e06..b034ba26e2eb 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -70,7 +70,6 @@ private: public: ScaFuncData(const ScaFuncDataBase& rBaseData); - ~ScaFuncData(); const char* GetUINameID() const { return pUINameID; } const char** GetDescrID() const { return pDescrID; } diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index 1b698fd0ec49..97d9401cdc1d 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -73,10 +73,6 @@ ScaFuncData::ScaFuncData( const ScaFuncDataBase& rBaseData ) : aCompList.push_back(OUString::createFromAscii(rBaseData.pCompName)); } -ScaFuncData::~ScaFuncData() -{ -} - sal_uInt16 ScaFuncData::GetStrIndex( sal_uInt16 nParam ) const { if( !bWithOpt ) diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx index daed4c53ef2d..874a842a740e 100644 --- a/scaddins/source/pricing/pricing.hxx +++ b/scaddins/source/pricing/pricing.hxx @@ -86,7 +86,6 @@ private: public: ScaFuncData(const ScaFuncDataBase& rBaseData); - ~ScaFuncData(); const char* GetUINameID() const { return pUINameID; } const char** GetDescrID() const { return pDescrID; } |