[Libreoffice-commits] core.git: sc/inc sc/source

Noel Grandin noel.grandin at collabora.co.uk
Wed Jan 25 08:15:52 UTC 2017


 sc/inc/chgtrack.hxx                            |    1 -
 sc/inc/columniterator.hxx                      |    1 -
 sc/inc/conditio.hxx                            |    1 -
 sc/inc/detdata.hxx                             |    1 -
 sc/inc/dpfilteredcache.hxx                     |    2 --
 sc/inc/dptabres.hxx                            |    1 -
 sc/inc/fillinfo.hxx                            |    3 ---
 sc/inc/formulagroup.hxx                        |    1 -
 sc/inc/importfilterdata.hxx                    |    1 -
 sc/inc/lookupcache.hxx                         |    3 ---
 sc/inc/rangeutl.hxx                            |    2 --
 sc/inc/stlalgorithm.hxx                        |    1 -
 sc/inc/token.hxx                               |    2 --
 sc/inc/validat.hxx                             |    1 -
 sc/source/core/data/dptabres.cxx               |    3 ---
 sc/source/core/data/dptabsrc.cxx               |    1 -
 sc/source/core/data/segmenttree.cxx            |    6 ------
 sc/source/core/inc/scrdata.hxx                 |    1 -
 sc/source/core/opencl/formulagroupcl.cxx       |    3 ---
 sc/source/core/opencl/opbase.hxx               |    1 -
 sc/source/core/tool/callform.cxx               |    1 -
 sc/source/core/tool/chartlis.cxx               |    1 -
 sc/source/filter/excel/xilink.cxx              |    5 -----
 sc/source/filter/excel/xltoolbar.hxx           |    3 ---
 sc/source/filter/html/htmlpars.cxx             |    5 -----
 sc/source/filter/inc/htmlpars.hxx              |    1 -
 sc/source/filter/inc/qproform.hxx              |    1 -
 sc/source/filter/inc/xecontent.hxx             |    1 -
 sc/source/filter/inc/xestyle.hxx               |    1 -
 sc/source/filter/xml/XMLStylesImportHelper.hxx |    2 --
 sc/source/filter/xml/xmlcondformat.hxx         |   16 ----------------
 sc/source/filter/xml/xmlstyle.hxx              |    1 -
 sc/source/ui/dbgui/consdlg.cxx                 |    2 --
 sc/source/ui/inc/AccessibleText.hxx            |    2 --
 sc/source/ui/inc/checklistmenu.hxx             |    2 --
 sc/source/ui/inc/dbdocfun.hxx                  |    1 -
 sc/source/ui/inc/docfunc.hxx                   |    1 -
 sc/source/ui/inc/olinefun.hxx                  |    1 -
 sc/source/ui/inc/pfuncache.hxx                 |    1 -
 sc/source/ui/inc/validate.hxx                  |    1 -
 sc/source/ui/unoobj/cellsuno.cxx               |    1 -
 sc/source/ui/unoobj/chart2uno.cxx              |    4 ----
 sc/source/ui/vba/vbaborders.hxx                |    1 -
 sc/source/ui/vba/vbacharacters.hxx             |    1 -
 sc/source/ui/vba/vbacomment.hxx                |    2 --
 sc/source/ui/vba/vbacomments.hxx               |    2 --
 sc/source/ui/vba/vbadialog.hxx                 |    1 -
 sc/source/ui/vba/vbadialogs.hxx                |    1 -
 sc/source/ui/vba/vbaformat.hxx                 |    1 -
 sc/source/ui/vba/vbainterior.hxx               |    2 --
 sc/source/ui/vba/vbaoutline.hxx                |    1 -
 sc/source/ui/vba/vbapagebreak.hxx              |    3 ---
 sc/source/ui/vba/vbapagebreaks.hxx             |    1 -
 sc/source/ui/vba/vbapagesetup.hxx              |    1 -
 sc/source/ui/vba/vbapivottables.hxx            |    1 -
 sc/source/ui/vba/vbastyle.hxx                  |    1 -
 sc/source/ui/vba/vbatextframe.hxx              |    1 -
 sc/source/ui/vba/vbawindows.hxx                |    1 -
 sc/source/ui/vba/vbaworkbook.hxx               |    1 -
 sc/source/ui/vba/vbaworkbooks.hxx              |    1 -
 sc/source/ui/vba/vbaworksheets.hxx             |    1 -
 sc/source/ui/vba/vbawsfunction.hxx             |    1 -
 sc/source/ui/view/output2.cxx                  |    5 -----
 63 files changed, 120 deletions(-)

New commits:
commit 3c6b7c8b43d23dd7de46c02ee2cfa5bd2a97f168
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Jan 25 08:35:37 2017 +0200

    loplugin: unnecessary destructor sc
    
    Change-Id: I877bc0927aff7d175c1978fdf3db55d2e048d3b9
    Reviewed-on: https://gerrit.libreoffice.org/33510
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 1539ed3..0c6b3c7 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -52,7 +52,6 @@ private:
 
 public:
     ScActionColorChanger( const ScChangeTrack& rTrack );
-    ~ScActionColorChanger() {}
     void        Update( const ScChangeAction& rAction );
     ColorData   GetColor() const    { return nColor; }
 };
diff --git a/sc/inc/columniterator.hxx b/sc/inc/columniterator.hxx
index 4e8c951..b36df3d 100644
--- a/sc/inc/columniterator.hxx
+++ b/sc/inc/columniterator.hxx
@@ -25,7 +25,6 @@ class ScColumnTextWidthIterator
 public:
     ScColumnTextWidthIterator(const ScColumnTextWidthIterator&) = delete;
     const ScColumnTextWidthIterator& operator=(const ScColumnTextWidthIterator&) = delete;
-    ~ScColumnTextWidthIterator() = default;
     ScColumnTextWidthIterator(ScColumn& rCol, SCROW nStartRow, SCROW nEndRow);
 
     /**
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index e3a19d0..277078c 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -481,7 +481,6 @@ public:
     ScConditionalFormatList() {}
     ScConditionalFormatList(const ScConditionalFormatList& rList);
     ScConditionalFormatList(ScDocument* pDoc, const ScConditionalFormatList& rList);
-    ~ScConditionalFormatList() {}
 
     void    InsertNew( ScConditionalFormat* pNew );
 
diff --git a/sc/inc/detdata.hxx b/sc/inc/detdata.hxx
index 665acbd..61b2980 100644
--- a/sc/inc/detdata.hxx
+++ b/sc/inc/detdata.hxx
@@ -65,7 +65,6 @@ class ScDetOpList
 public:
         ScDetOpList() : bHasAddError(false) {}
         ScDetOpList(const ScDetOpList& rList);
-        ~ScDetOpList() {}
 
     void    DeleteOnTab( SCTAB nTab );
     void    UpdateReference( ScDocument* pDoc, UpdateRefMode eUpdateRefMode,
diff --git a/sc/inc/dpfilteredcache.hxx b/sc/inc/dpfilteredcache.hxx
index 2b160f4..9c4a94b 100644
--- a/sc/inc/dpfilteredcache.hxx
+++ b/sc/inc/dpfilteredcache.hxx
@@ -65,7 +65,6 @@ public:
     {
     public:
         explicit SingleFilter(const ScDPItemData &rItem);
-        virtual ~SingleFilter() override {}
 
         virtual bool match(const ScDPItemData& rCellData) const override;
         virtual std::vector<ScDPItemData> getMatchValues() const override;
@@ -79,7 +78,6 @@ public:
     {
     public:
         GroupFilter();
-        virtual ~GroupFilter() override {}
         virtual bool match(const ScDPItemData& rCellData) const override;
         virtual std::vector<ScDPItemData> getMatchValues() const override;
         void addMatchItem(const ScDPItemData& rItem);
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index 7b6e7d1..ed3acc4 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -164,7 +164,6 @@ private:
 
 public:
             ScDPAggData() : fVal(0.0), fAux(0.0), nCount(SC_DPAGG_EMPTY), pChild(nullptr) {}
-            ~ScDPAggData() {}
 
     void    Update( const ScDPValue& rNext, ScSubTotalFunc eFunc, const ScDPSubTotalState& rSubState );
     void    Calculate( ScSubTotalFunc eFunc, const ScDPSubTotalState& rSubState );
diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx
index eb09413..e02ebd1 100644
--- a/sc/inc/fillinfo.hxx
+++ b/sc/inc/fillinfo.hxx
@@ -129,7 +129,6 @@ struct CellInfo
     {
     }
 
-    ~CellInfo() = default;
     CellInfo(const CellInfo&) = delete;
     const CellInfo& operator=(const CellInfo&) = delete;
 
@@ -177,8 +176,6 @@ const SCCOL SC_ROTMAX_NONE = SCCOL_MAX;
 struct RowInfo
 {
     RowInfo() = default;
-    ~RowInfo() = default;
-    RowInfo(const RowInfo&) = delete;
     const RowInfo& operator=(const RowInfo&) = delete;
 
     CellInfo*           pCellInfo;
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx
index 57fe258..f51a592 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -149,7 +149,6 @@ class SC_DLLPUBLIC FormulaGroupInterpreterSoftware : public FormulaGroupInterpre
 {
 public:
     FormulaGroupInterpreterSoftware();
-    virtual ~FormulaGroupInterpreterSoftware() override {}
 
     virtual ScMatrixRef inverseMatrix(const ScMatrix& rMat) override;
     virtual bool interpret(ScDocument& rDoc, const ScAddress& rTopPos, ScFormulaCellGroupRef& xGroup, ScTokenArray& rCode) override;
diff --git a/sc/inc/importfilterdata.hxx b/sc/inc/importfilterdata.hxx
index 38796fc..36b65fd 100644
--- a/sc/inc/importfilterdata.hxx
+++ b/sc/inc/importfilterdata.hxx
@@ -25,7 +25,6 @@ struct ImportPostProcessData
     ImportPostProcessData() = default;
     ImportPostProcessData(const ImportPostProcessData&) = delete;
     const ImportPostProcessData& operator=(const ImportPostProcessData&) = delete;
-    ~ImportPostProcessData() = default;
     /**
      * Data stream data needs to be post-processed because it requires
      * ScDocShell instance which is not available in the filter code.
diff --git a/sc/inc/lookupcache.hxx b/sc/inc/lookupcache.hxx
index 7dd37f4..5f3b6cf 100644
--- a/sc/inc/lookupcache.hxx
+++ b/sc/inc/lookupcache.hxx
@@ -180,9 +180,6 @@ private:
             maAddress( rAddress)
         {
         }
-        ~QueryCriteriaAndResult()
-        {
-        }
     };
 
     typedef std::unordered_map< QueryKey, QueryCriteriaAndResult, QueryKey::Hash > QueryMap;
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx
index 4d420d6..92ceaa9 100644
--- a/sc/inc/rangeutl.hxx
+++ b/sc/inc/rangeutl.hxx
@@ -42,7 +42,6 @@ class SC_DLLPUBLIC ScRangeUtil
 {
 public:
                 ScRangeUtil()  {}
-                ~ScRangeUtil() {}
 
     static bool MakeArea        ( const OUString&     rAreaStr,
                                   ScArea&           rArea,
@@ -265,7 +264,6 @@ private:
 
 public:
             ScAreaNameIterator( ScDocument* pDoc );
-            ~ScAreaNameIterator() {}
 
     bool Next( OUString& rName, ScRange& rRange );
     bool WasDBName() const { return !bFirstPass; }
diff --git a/sc/inc/stlalgorithm.hxx b/sc/inc/stlalgorithm.hxx
index 678f306..d99476e 100644
--- a/sc/inc/stlalgorithm.hxx
+++ b/sc/inc/stlalgorithm.hxx
@@ -43,7 +43,6 @@ public:
     };
 
     AlignedAllocator() {}
-    ~AlignedAllocator() {}
 
     template<typename Type2>
     AlignedAllocator(const AlignedAllocator<Type2,Alignment>&) {}
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index e8d313a..5892a3b 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -458,8 +458,6 @@ public:
                                     r.GetType() == formula::svExternalDoubleRef) ?
                                 r.GetDoubleRef()->Ref2 : Ref1 )
                     {}
-                ~SingleDoubleRefProvider()
-                    {}
 };
 
 #endif
diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx
index 6f67bec..6a4124f 100644
--- a/sc/inc/validat.hxx
+++ b/sc/inc/validat.hxx
@@ -182,7 +182,6 @@ public:
     ScValidationDataList() {}
     ScValidationDataList(const ScValidationDataList& rList);
     ScValidationDataList(ScDocument* pNewDoc, const ScValidationDataList& rList);
-    ~ScValidationDataList() {}
 
     typedef ScValidationDataListDataType::iterator iterator;
     typedef ScValidationDataListDataType::const_iterator const_iterator;
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index 0d2c373..f6e7bbfa 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -145,7 +145,6 @@ public:
                 nMeasure(nM),
                 bAscending(bAsc)
             {}
-            ~ScDPRowMembersOrder() {}
 
     bool operator()( sal_Int32 nIndex1, sal_Int32 nIndex2 ) const;
 };
@@ -162,7 +161,6 @@ public:
                 nMeasure(nM),
                 bAscending(bAsc)
             {}
-            ~ScDPColMembersOrder() {}
 
     bool operator()( sal_Int32 nIndex1, sal_Int32 nIndex2 ) const;
 };
@@ -2689,7 +2687,6 @@ private:
     long                 nGroupBase;
 public:
             ScDPGroupCompare( const ScDPResultData* pData, const ScDPInitState& rState, long nDimension );
-            ~ScDPGroupCompare() {}
 
     bool    IsIncluded( const ScDPMember& rMember )     { return bIncludeAll || TestIncluded( rMember ); }
     bool    TestIncluded( const ScDPMember& rMember );
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index d7825f0..73f4ebc 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -1943,7 +1943,6 @@ public:
                 rLevel(rLev),
                 bAscending(bAsc)
             {}
-            ~ScDPGlobalMembersOrder() {}
 
     bool operator()( sal_Int32 nIndex1, sal_Int32 nIndex2 ) const;
 };
diff --git a/sc/source/core/data/segmenttree.cxx b/sc/source/core/data/segmenttree.cxx
index 98b2929..d76f8a3 100644
--- a/sc/source/core/data/segmenttree.cxx
+++ b/sc/source/core/data/segmenttree.cxx
@@ -42,7 +42,6 @@ public:
 
     ScFlatSegmentsImpl(SCCOLROW nMax, ValueType nDefault);
     ScFlatSegmentsImpl(const ScFlatSegmentsImpl& r);
-    ~ScFlatSegmentsImpl();
 
     bool setValue(SCCOLROW nPos1, SCCOLROW nPos2, ValueType nValue);
     void setValueIf(SCCOLROW nPos1, SCCOLROW nPos2, ValueType nValue, const std::function<bool(ValueType)>& rPredicate);
@@ -87,11 +86,6 @@ ScFlatSegmentsImpl<ValueType_, ExtValueType_>::ScFlatSegmentsImpl(const ScFlatSe
 }
 
 template<typename ValueType_, typename ExtValueType_>
-ScFlatSegmentsImpl<ValueType_, ExtValueType_>::~ScFlatSegmentsImpl()
-{
-}
-
-template<typename ValueType_, typename ExtValueType_>
 bool ScFlatSegmentsImpl<ValueType_, ExtValueType_>::setValue(SCCOLROW nPos1, SCCOLROW nPos2, ValueType nValue)
 {
     ::std::pair<typename fst_type::const_iterator, bool> ret;
diff --git a/sc/source/core/inc/scrdata.hxx b/sc/source/core/inc/scrdata.hxx
index a4cd2af..3d5bc87 100644
--- a/sc/source/core/inc/scrdata.hxx
+++ b/sc/source/core/inc/scrdata.hxx
@@ -32,7 +32,6 @@ public:
     css::uno::Reference< css::i18n::XBreakIterator > xBreakIter;
 
     ScScriptTypeData() {}
-    ~ScScriptTypeData() {}
 };
 
 #endif
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 4f8ac4d..b8ce346 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1097,9 +1097,6 @@ public:
             }
         }
     }
-    ~DynamicKernelSlidingArgument()
-    {
-    }
 
     size_t GetArrayLength() const { return mpDVR->GetArrayLength(); }
 
diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx
index 39a76da..309316c 100644
--- a/sc/source/core/opencl/opbase.hxx
+++ b/sc/source/core/opencl/opbase.hxx
@@ -197,7 +197,6 @@ public:
     typedef std::vector<DynamicKernelArgumentRef> SubArguments;
     virtual void GenSlidingWindowFunction( std::stringstream&,
         const std::string&, SubArguments& ) = 0;
-    virtual ~SlidingFunctionBase() override { }
 };
 
 class Normal : public SlidingFunctionBase
diff --git a/sc/source/core/tool/callform.cxx b/sc/source/core/tool/callform.cxx
index 06884c5..1dc5e59 100644
--- a/sc/source/core/tool/callform.cxx
+++ b/sc/source/core/tool/callform.cxx
@@ -86,7 +86,6 @@ public:
     const ModuleData& operator=(const ModuleData&) = delete;
 
     ModuleData(const OUString& rStr, osl::Module* pInst) : aName(rStr), pInstance(pInst) {}
-    ~ModuleData() {}
 
     const OUString& GetName() const { return aName; }
     osl::Module*    GetInstance() const { return pInstance.get(); }
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index 96bf26a..dd29434 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -41,7 +41,6 @@ public:
             ScChartUnoData( const uno::Reference< chart::XChartDataChangeEventListener >& rL,
                             const uno::Reference< chart::XChartData >& rS ) :
                     xListener( rL ), xSource( rS ) {}
-            ~ScChartUnoData() {}
 
     const uno::Reference< chart::XChartDataChangeEventListener >& GetListener() const   { return xListener; }
     const uno::Reference< chart::XChartData >& GetSource() const                        { return xSource; }
diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx
index ef9f96b..25c2ece 100644
--- a/sc/source/filter/excel/xilink.cxx
+++ b/sc/source/filter/excel/xilink.cxx
@@ -64,7 +64,6 @@ public:
     /** Stores the sheet name and marks the sheet index as invalid.
         The sheet index is set while creating the Calc sheet with CreateTable(). */
     explicit            XclImpSupbookTab( const OUString& rTabName );
-                        ~XclImpSupbookTab();
 
     inline const OUString& GetTabName() const { return maTabName; }
 
@@ -564,10 +563,6 @@ XclImpSupbookTab::XclImpSupbookTab( const OUString& rTabName ) :
 {
 }
 
-XclImpSupbookTab::~XclImpSupbookTab()
-{
-}
-
 void XclImpSupbookTab::ReadCrn( XclImpStream& rStrm, const XclAddress& rXclPos )
 {
     XclImpCrnRef crnRef( new XclImpCrn(rStrm, rXclPos) );
diff --git a/sc/source/filter/excel/xltoolbar.hxx b/sc/source/filter/excel/xltoolbar.hxx
index 9ef3971..cf54812 100644
--- a/sc/source/filter/excel/xltoolbar.hxx
+++ b/sc/source/filter/excel/xltoolbar.hxx
@@ -39,7 +39,6 @@ class ScTBC : public TBBase
     std::shared_ptr<TBCData> tbcd;
 public:
     ScTBC();
-    virtual ~ScTBC() override {}
 #ifdef DEBUG_SC_EXCEL
     virtual void Print( FILE* ) override;
 #endif
@@ -56,7 +55,6 @@ class ScCTB : public TBBase
     std::vector< ScTBC > rTBC;
 public:
     explicit ScCTB(sal_uInt16);
-    virtual ~ScCTB() override {}
 #ifdef DEBUG_SC_EXCEL
     virtual void Print( FILE* ) override;
 #endif
@@ -82,7 +80,6 @@ public:
     CTBS(const CTBS&);
     CTBS& operator = ( const CTBS&);
     CTBS();
-    virtual ~CTBS() override {}
 #ifdef DEBUG_SC_EXCEL
     virtual void Print( FILE* ) override;
 #endif
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index 3372397..44caba7 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -1782,7 +1782,6 @@ private:
 
 public:
     explicit            ScHTMLTableMap( ScHTMLTable& rParentTable );
-                        ~ScHTMLTableMap();
 
     inline const_iterator begin() const { return maTables.begin(); }
     inline const_iterator end() const { return maTables.end(); }
@@ -1808,10 +1807,6 @@ ScHTMLTableMap::ScHTMLTableMap( ScHTMLTable& rParentTable ) :
 {
 }
 
-ScHTMLTableMap::~ScHTMLTableMap()
-{
-}
-
 ScHTMLTable* ScHTMLTableMap::FindTable( ScHTMLTableId nTableId, bool bDeep ) const
 {
     ScHTMLTable* pResult = nullptr;
diff --git a/sc/source/filter/inc/htmlpars.hxx b/sc/source/filter/inc/htmlpars.hxx
index c963b99..2d4c2dc 100644
--- a/sc/source/filter/inc/htmlpars.hxx
+++ b/sc/source/filter/inc/htmlpars.hxx
@@ -126,7 +126,6 @@ struct ScHTMLTableStackEntry
                             nColOffset( nCO ), nColOffsetStart( nCOS ),
                             bFirstRow( bFR )
                             {}
-                        ~ScHTMLTableStackEntry() {}
 };
 
 struct ScHTMLAdjustStackEntry
diff --git a/sc/source/filter/inc/qproform.hxx b/sc/source/filter/inc/qproform.hxx
index 1fe9dd0..730416b 100644
--- a/sc/source/filter/inc/qproform.hxx
+++ b/sc/source/filter/inc/qproform.hxx
@@ -60,7 +60,6 @@ private:
 public:
     static const size_t nBufSize = 256;
     QProToSc( SvStream &aStr, svl::SharedStringPool& rSPool, const ScAddress& rRefPos );
-    virtual ~QProToSc() override { };
     ConvErr Convert( const ScTokenArray*& pArray );
     void DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtString );
     void ReadSRD( ScSingleRefData& rR, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 rRel );
diff --git a/sc/source/filter/inc/xecontent.hxx b/sc/source/filter/inc/xecontent.hxx
index d8e9de5..06f582f 100644
--- a/sc/source/filter/inc/xecontent.hxx
+++ b/sc/source/filter/inc/xecontent.hxx
@@ -200,7 +200,6 @@ class XclExpCfvo : public XclExpRecord, protected XclExpRoot
 {
 public:
     explicit XclExpCfvo( const XclExpRoot& rRoot, const ScColorScaleEntry& rFormatEntry, const ScAddress& rPos, bool bFirst = true);
-    virtual ~XclExpCfvo() override {}
 
     virtual void SaveXml( XclExpXmlStream& rStrm ) override;
 private:
diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx
index 0f041bc..b21c1e1 100644
--- a/sc/source/filter/inc/xestyle.hxx
+++ b/sc/source/filter/inc/xestyle.hxx
@@ -718,7 +718,6 @@ class XclExpDxfs : public XclExpRecordBase, protected XclExpRoot
 {
 public:
     XclExpDxfs( const XclExpRoot& rRoot );
-    virtual ~XclExpDxfs() override {}
 
     sal_Int32 GetDxfId(const OUString& rName);
 
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx
index feedc16..bc5d9f3 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx
@@ -69,7 +69,6 @@ struct ScMyCurrencyStyle
     ScMyCurrencyStyle() :
         mpRanges(new ScSimpleRangeList)
     {}
-    ~ScMyCurrencyStyle() {}
 };
 
 struct LessCurrencyStyle
@@ -111,7 +110,6 @@ struct ScMyStyle
     tools::SvRef<ScMyStyleRanges> xRanges;
 
     ScMyStyle() : xRanges(new ScMyStyleRanges()) {}
-    ~ScMyStyle() {}
 };
 
 struct LessStyle
diff --git a/sc/source/filter/xml/xmlcondformat.hxx b/sc/source/filter/xml/xmlcondformat.hxx
index c93e4b6..963e3db 100644
--- a/sc/source/filter/xml/xmlcondformat.hxx
+++ b/sc/source/filter/xml/xmlcondformat.hxx
@@ -28,8 +28,6 @@ public:
     ScXMLConditionalFormatsContext( ScXMLImport& rImport, sal_uInt16 nPrfx,
                         const OUString& rLName );
 
-    virtual ~ScXMLConditionalFormatsContext() override {}
-
     virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
                                      const OUString& rLocalName,
                                      const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -63,8 +61,6 @@ public:
     ScXMLColorScaleFormatContext( ScXMLImport& rImport, sal_uInt16 nPrfx,
                         const OUString& rLName, ScConditionalFormat* pFormat);
 
-    virtual ~ScXMLColorScaleFormatContext() override {}
-
     virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
                                      const OUString& rLocalName,
                                      const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -81,8 +77,6 @@ public:
                         const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
                         ScConditionalFormat* pFormat);
 
-    virtual ~ScXMLDataBarFormatContext() override {}
-
     virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
                                      const OUString& rLocalName,
                                      const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -103,8 +97,6 @@ public:
                         const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
                         ScConditionalFormat* pFormat);
 
-    virtual ~ScXMLIconSetFormatContext() override {}
-
     virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
                                      const OUString& rLocalName,
                                      const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -118,9 +110,7 @@ public:
                         const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
                         ScColorScaleFormat* pFormat);
 
-    virtual ~ScXMLColorScaleFormatEntryContext() override {}
 private:
-
     ScColorScaleEntry* mpFormatEntry;
 };
 
@@ -131,8 +121,6 @@ public:
                         const OUString& rLName,
                         const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
                         ScColorScaleEntry*& pData);
-
-    virtual ~ScXMLFormattingEntryContext() override {}
 };
 
 class ScXMLCondContext : public ScXMLImportContext
@@ -142,8 +130,6 @@ public:
                         const OUString& rLName,
                         const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
                         ScConditionalFormat* pFormat);
-
-    virtual ~ScXMLCondContext() override {}
 };
 
 class ScXMLDateContext : public ScXMLImportContext
@@ -153,8 +139,6 @@ public:
                         const OUString& rLName,
                         const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
                         ScConditionalFormat* pFormat);
-
-    virtual ~ScXMLDateContext() override {}
 };
 
 #endif
diff --git a/sc/source/filter/xml/xmlstyle.hxx b/sc/source/filter/xml/xmlstyle.hxx
index c3eab15..47e174b 100644
--- a/sc/source/filter/xml/xmlstyle.hxx
+++ b/sc/source/filter/xml/xmlstyle.hxx
@@ -340,7 +340,6 @@ public:
 class XmlScPropHdl_IsEqual : public XMLPropertyHandler
 {
 public:
-    virtual ~XmlScPropHdl_IsEqual() override {}
     virtual bool equals( const css::uno::Any& /* r1 */, const css::uno::Any& /* r2 */ ) const override { return true; }
     virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
     virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx
index 494e630..d50711c 100644
--- a/sc/source/ui/dbgui/consdlg.cxx
+++ b/sc/source/ui/dbgui/consdlg.cxx
@@ -44,8 +44,6 @@ public:
     {
     }
 
-    ~ScAreaData() {}
-
     void Set( const OUString& rName, const OUString& rArea, bool bDb )
                 {
                     aStrName  = rName;
diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx
index 6390df7..80e2495 100644
--- a/sc/source/ui/inc/AccessibleText.hxx
+++ b/sc/source/ui/inc/AccessibleText.hxx
@@ -42,7 +42,6 @@ class ScAccessibleTextData : public SfxListener
 {
 public:
                         ScAccessibleTextData() {}
-    virtual             ~ScAccessibleTextData() override {}
 
     virtual ScAccessibleTextData* Clone() const = 0;
 
@@ -68,7 +67,6 @@ public:
                         ScAccessibleCellBaseTextData(ScDocShell* pDocShellP,
                             const ScAddress& rP)
                             : ScCellTextData(pDocShellP, rP) {}
-    virtual             ~ScAccessibleCellBaseTextData() override {}
     virtual void        Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override { ScCellTextData::Notify(rBC, rHint); }
 
     virtual void                UpdateData() override { ScCellTextData::UpdateData(); }
diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx
index 5c0b2df..1723c9b 100644
--- a/sc/source/ui/inc/checklistmenu.hxx
+++ b/sc/source/ui/inc/checklistmenu.hxx
@@ -259,8 +259,6 @@ public:
     {
     }
 
-    virtual ~ScSearchEdit() override {}
-
     virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
     void SetTabStopsContainer( ScTabStops* pTabStops )  { mpTabStops = pTabStops; }
 };
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx
index bebf5d7..298d390 100644
--- a/sc/source/ui/inc/dbdocfun.hxx
+++ b/sc/source/ui/inc/dbdocfun.hxx
@@ -56,7 +56,6 @@ private:
 
 public:
                     ScDBDocFunc( ScDocShell& rDocSh ): rDocShell(rDocSh) {}
-                    ~ScDBDocFunc() {}
 
     void            UpdateImport( const OUString& rTarget, const svx::ODataAccessDescriptor& rDescriptor );
 
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index e6757a7..0c5f198 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -232,7 +232,6 @@ class ScDocFuncDirect : public ScDocFunc
 {
 public:
             ScDocFuncDirect( ScDocShell& rDocSh ) : ScDocFunc( rDocSh ) {}
-    virtual ~ScDocFuncDirect() override {}
 };
 
 void VBA_DeleteModule( ScDocShell& rDocSh, const OUString& sModuleName );
diff --git a/sc/source/ui/inc/olinefun.hxx b/sc/source/ui/inc/olinefun.hxx
index 56c1efba..3253d94 100644
--- a/sc/source/ui/inc/olinefun.hxx
+++ b/sc/source/ui/inc/olinefun.hxx
@@ -32,7 +32,6 @@ private:
 
 public:
                 ScOutlineDocFunc( ScDocShell& rDocSh ): rDocShell(rDocSh) {}
-                ~ScOutlineDocFunc() {}
 
     void        MakeOutline( const ScRange& rRange, bool bColumns, bool bRecord, bool bApi );
     void        RemoveOutline( const ScRange& rRange, bool bColumns, bool bRecord, bool bApi );
diff --git a/sc/source/ui/inc/pfuncache.hxx b/sc/source/ui/inc/pfuncache.hxx
index 7e43372..c727b19 100644
--- a/sc/source/ui/inc/pfuncache.hxx
+++ b/sc/source/ui/inc/pfuncache.hxx
@@ -50,7 +50,6 @@ class ScPrintSelectionStatus
 
 public:
             ScPrintSelectionStatus() : eMode(SC_PRINTSEL_INVALID) {}
-            ~ScPrintSelectionStatus() {}
 
     void    SetMode(ScPrintSelectionMode eNew)  { eMode = eNew; }
     void    SetRanges(const ScRangeList& rNew)  { aRanges = rNew; }
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index 350e32a..fd76c74 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -31,7 +31,6 @@
 #include "anyrefdg.hxx"
 
 struct ScRefHandlerCaller : public virtual VclReferenceBase {
-    virtual ~ScRefHandlerCaller() override {}
 };
 class ScRefHandlerHelper
 {
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index c469ebe..536e227 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -9486,7 +9486,6 @@ class ScUniqueFormatsEntry
 
 public:
                         ScUniqueFormatsEntry() : eState( STATE_EMPTY ) {}
-                        ~ScUniqueFormatsEntry() {}
 
     void                Join( const ScRange& rNewRange );
     const ScRangeList&  GetRanges();
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 582b0c6..76b594b 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -463,10 +463,6 @@ public:
     {
     }
 
-    ~Chart2Positioner()
-    {
-    }
-
     void setHeaders(bool bColHeaders, bool bRowHeaders)
     {
         mbColHeaders = bColHeaders;
diff --git a/sc/source/ui/vba/vbaborders.hxx b/sc/source/ui/vba/vbaborders.hxx
index 664c7f5..6107636 100644
--- a/sc/source/ui/vba/vbaborders.hxx
+++ b/sc/source/ui/vba/vbaborders.hxx
@@ -37,7 +37,6 @@ class ScVbaBorders : public ScVbaBorders_BASE
     css::uno::Reference< css::beans::XPropertySet > m_xProps;
 public:
     ScVbaBorders( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::table::XCellRange >& xRange, ScVbaPalette& rPalette );
-    virtual ~ScVbaBorders() override {}
 
     // XEnumerationAccess
     virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override;
diff --git a/sc/source/ui/vba/vbacharacters.hxx b/sc/source/ui/vba/vbacharacters.hxx
index 16db60a..552b472 100644
--- a/sc/source/ui/vba/vbacharacters.hxx
+++ b/sc/source/ui/vba/vbacharacters.hxx
@@ -42,7 +42,6 @@ public:
     /// @throws css::uno::RuntimeException
     ScVbaCharacters( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,  const ScVbaPalette& dPalette, const css::uno::Reference< css::text::XSimpleText >& xRange, const css::uno::Any& Start, const css::uno::Any& Length, bool bReplace = false  ) throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException );
 
-    virtual ~ScVbaCharacters() override {}
     // Attributes
     virtual OUString SAL_CALL getCaption() throw (css::uno::RuntimeException, std::exception) override;
     virtual void SAL_CALL setCaption( const OUString& _caption ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/sc/source/ui/vba/vbacomment.hxx b/sc/source/ui/vba/vbacomment.hxx
index b1d7a60..5383a85 100644
--- a/sc/source/ui/vba/vbacomment.hxx
+++ b/sc/source/ui/vba/vbacomment.hxx
@@ -54,8 +54,6 @@ public:
         const css::uno::Reference< css::frame::XModel >& xModel,
         const css::uno::Reference< css::table::XCellRange >& xRange ) throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException );
 
-    virtual ~ScVbaComment() override {}
-
     // Attributes
     virtual OUString SAL_CALL getAuthor() throw (css::uno::RuntimeException, std::exception) override;
     virtual void SAL_CALL setAuthor( const OUString& _author ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/sc/source/ui/vba/vbacomments.hxx b/sc/source/ui/vba/vbacomments.hxx
index b310e8a..9a7e731 100644
--- a/sc/source/ui/vba/vbacomments.hxx
+++ b/sc/source/ui/vba/vbacomments.hxx
@@ -36,8 +36,6 @@ public:
         const css::uno::Reference< css::frame::XModel >& xModel,
         const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess );
 
-    virtual ~ScVbaComments() override {}
-
     // XEnumerationAccess
     virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override;
     virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException) override;
diff --git a/sc/source/ui/vba/vbadialog.hxx b/sc/source/ui/vba/vbadialog.hxx
index 8f56fb8..f36fa59 100644
--- a/sc/source/ui/vba/vbadialog.hxx
+++ b/sc/source/ui/vba/vbadialog.hxx
@@ -30,7 +30,6 @@ class ScVbaDialog : public ScVbaDialog_BASE
 {
 public:
     ScVbaDialog( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel, sal_Int32 nIndex ):ScVbaDialog_BASE( xParent, xContext, xModel, nIndex ) {}
-    virtual ~ScVbaDialog() override {}
 
     // Methods
     virtual OUString mapIndexToName( sal_Int32 nIndex ) override;
diff --git a/sc/source/ui/vba/vbadialogs.hxx b/sc/source/ui/vba/vbadialogs.hxx
index 7d6991e..dc62a5a 100644
--- a/sc/source/ui/vba/vbadialogs.hxx
+++ b/sc/source/ui/vba/vbadialogs.hxx
@@ -32,7 +32,6 @@ class ScVbaDialogs : public ScVbaDialogs_BASE
 {
 public:
     ScVbaDialogs( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel >& xModel ): ScVbaDialogs_BASE( xParent, xContext, xModel ) {}
-    virtual ~ScVbaDialogs() override {}
 
     // XCollection
     virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/sc/source/ui/vba/vbaformat.hxx b/sc/source/ui/vba/vbaformat.hxx
index bfe1eb0..604bd6f 100644
--- a/sc/source/ui/vba/vbaformat.hxx
+++ b/sc/source/ui/vba/vbaformat.hxx
@@ -62,7 +62,6 @@ protected:
 public:
     /// @throws css::script::BasicErrorException
     ScVbaFormat( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertySet >& _xPropertySet, const css::uno::Reference< css::frame::XModel >& xModel, bool bCheckAmbiguoity ) throw ( css::script::BasicErrorException );
-    virtual ~ScVbaFormat() {}
     virtual css::uno::Reference< ov::XHelperInterface > thisHelperIface() = 0;
      /// @throws css::uno::RuntimeException
      void SAL_CALL setAddIndent( const css::uno::Any& BAddIndent) throw( css::uno::RuntimeException ) { BAddIndent >>= mbAddIndent; }
diff --git a/sc/source/ui/vba/vbainterior.hxx b/sc/source/ui/vba/vbainterior.hxx
index 32dca42..65abdbf 100644
--- a/sc/source/ui/vba/vbainterior.hxx
+++ b/sc/source/ui/vba/vbainterior.hxx
@@ -60,8 +60,6 @@ public:
         ScVbaInterior( const css::uno::Reference< ov::XHelperInterface >& xParent,  const css::uno::Reference< css::uno::XComponentContext >& xContext,
                  const css::uno::Reference< css::beans::XPropertySet >& xProps, ScDocument* pScDoc = nullptr) throw ( css::lang::IllegalArgumentException);
 
-        virtual ~ScVbaInterior() override {}
-
     virtual css::uno::Any SAL_CALL getColor() throw (css::uno::RuntimeException, std::exception) override ;
     virtual void SAL_CALL setColor( const css::uno::Any& _color ) throw (css::uno::RuntimeException, std::exception) override ;
 
diff --git a/sc/source/ui/vba/vbaoutline.hxx b/sc/source/ui/vba/vbaoutline.hxx
index afa2f90..ae1991e 100644
--- a/sc/source/ui/vba/vbaoutline.hxx
+++ b/sc/source/ui/vba/vbaoutline.hxx
@@ -33,7 +33,6 @@ public:
     ScVbaOutline( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,
          css::uno::Reference<css::sheet::XSheetOutline> const & outline): ScVbaOutline_BASE( xParent, xContext) , mxOutline(outline)
     {}
-    virtual ~ScVbaOutline() override {}
 
     virtual void SAL_CALL ShowLevels( const css::uno::Any& RowLevels, const css::uno::Any& ColumnLevels ) throw (css::uno::RuntimeException, std::exception) override ;
     // XHelperInterface
diff --git a/sc/source/ui/vba/vbapagebreak.hxx b/sc/source/ui/vba/vbapagebreak.hxx
index 125fa7a..9b26b34 100644
--- a/sc/source/ui/vba/vbapagebreak.hxx
+++ b/sc/source/ui/vba/vbapagebreak.hxx
@@ -42,7 +42,6 @@ public:
                     const css::uno::Reference< css::uno::XComponentContext >& xContext,
                     css::uno::Reference< css::beans::XPropertySet >& xProps,
                     css::sheet::TablePageBreakData aTablePageBreakData) throw (css::uno::RuntimeException);
-    virtual ~ScVbaPageBreak(){}
 
     virtual sal_Int32 SAL_CALL getType( ) throw (css::uno::RuntimeException) SAL_OVERRIDE;
     virtual void SAL_CALL setType(sal_Int32 type) throw (css::uno::RuntimeException) SAL_OVERRIDE;
@@ -63,8 +62,6 @@ public:
                     css::sheet::TablePageBreakData aTablePageBreakData) throw (css::uno::RuntimeException):
               ScVbaHPageBreak_BASE( xParent,xContext,xProps,aTablePageBreakData ){}
 
-    virtual ~ScVbaHPageBreak() override {}
-
     // XHelperInterface
     virtual OUString getServiceImplName() override;
     virtual css::uno::Sequence<OUString> getServiceNames() override;
diff --git a/sc/source/ui/vba/vbapagebreaks.hxx b/sc/source/ui/vba/vbapagebreaks.hxx
index 331c7d6..762e6e7 100644
--- a/sc/source/ui/vba/vbapagebreaks.hxx
+++ b/sc/source/ui/vba/vbapagebreaks.hxx
@@ -43,7 +43,6 @@ public:
     ScVbaHPageBreaks( const css::uno::Reference< ov::XHelperInterface >& xParent,
                     const css::uno::Reference< css::uno::XComponentContext >& xContext,
                     css::uno::Reference< css::sheet::XSheetPageBreak >& xSheetPageBreak) throw (css::uno::RuntimeException);
-    virtual ~ScVbaHPageBreaks() override {}
 
     // XHPageBreaks
     virtual css::uno::Any SAL_CALL Add( const css::uno::Any& Before) throw ( css::script::BasicErrorException, css::uno::RuntimeException, std::exception) override;
diff --git a/sc/source/ui/vba/vbapagesetup.hxx b/sc/source/ui/vba/vbapagesetup.hxx
index 579a427..f0b84bc 100644
--- a/sc/source/ui/vba/vbapagesetup.hxx
+++ b/sc/source/ui/vba/vbapagesetup.hxx
@@ -40,7 +40,6 @@ public:
                     const css::uno::Reference< css::uno::XComponentContext >& xContext,
                     const css::uno::Reference< css::sheet::XSpreadsheet>& xSheet,
                     const css::uno::Reference< css::frame::XModel >& xModel) throw (css::uno::RuntimeException);
-    virtual ~ScVbaPageSetup() override {}
 
     // Attribute
     virtual OUString SAL_CALL getPrintArea() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/sc/source/ui/vba/vbapivottables.hxx b/sc/source/ui/vba/vbapivottables.hxx
index 9edeedc..908afee 100644
--- a/sc/source/ui/vba/vbapivottables.hxx
+++ b/sc/source/ui/vba/vbapivottables.hxx
@@ -35,7 +35,6 @@ class ScVbaPivotTables : public ScVbaPivotTables_BASE
 
 public:
     ScVbaPivotTables( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess );
-    virtual ~ScVbaPivotTables() override {}
 
     // XEnumerationAccess
     virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override;
diff --git a/sc/source/ui/vba/vbastyle.hxx b/sc/source/ui/vba/vbastyle.hxx
index f1b0c53..fd8521c 100644
--- a/sc/source/ui/vba/vbastyle.hxx
+++ b/sc/source/ui/vba/vbastyle.hxx
@@ -43,7 +43,6 @@ public:
     /// @throws css::script::BasicErrorException
     /// @throws css::uno::RuntimeException
     ScVbaStyle( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertySet >& _xPropertySet, const css::uno::Reference< css::frame::XModel >& _xModel ) throw ( css::script::BasicErrorException, css::uno::RuntimeException );
-    virtual ~ScVbaStyle() override {}
     /// @throws css::uno::RuntimeException
     static css::uno::Reference< css::container::XNameAccess > getStylesNameContainer( const css::uno::Reference< css::frame::XModel >& xModel ) throw( css::uno::RuntimeException );
     virtual css::uno::Reference< ov::XHelperInterface > thisHelperIface() override { return this; };
diff --git a/sc/source/ui/vba/vbatextframe.hxx b/sc/source/ui/vba/vbatextframe.hxx
index 4304d03..ff223c8 100644
--- a/sc/source/ui/vba/vbatextframe.hxx
+++ b/sc/source/ui/vba/vbatextframe.hxx
@@ -31,7 +31,6 @@ class ScVbaTextFrame : public ScVbaTextFrame_BASE
 public:
     /// @throws css::lang::IllegalArgumentException
     ScVbaTextFrame( css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext > const& xContext ) throw ( css::lang::IllegalArgumentException );
-    virtual ~ScVbaTextFrame() override {}
     // Methods
     virtual css::uno::Any SAL_CALL Characters(  ) throw (css::uno::RuntimeException, std::exception) override;
     // XHelperInterface
diff --git a/sc/source/ui/vba/vbawindows.hxx b/sc/source/ui/vba/vbawindows.hxx
index 2d72b46..262287b 100644
--- a/sc/source/ui/vba/vbawindows.hxx
+++ b/sc/source/ui/vba/vbawindows.hxx
@@ -32,7 +32,6 @@ class ScVbaWindows : public ScVbaWindows_BASE
 {
 public:
     ScVbaWindows( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext );
-    virtual ~ScVbaWindows() override {}
 
     // XEnumerationAccess
     virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override;
diff --git a/sc/source/ui/vba/vbaworkbook.hxx b/sc/source/ui/vba/vbaworkbook.hxx
index 34bb2ad..647641e 100644
--- a/sc/source/ui/vba/vbaworkbook.hxx
+++ b/sc/source/ui/vba/vbaworkbook.hxx
@@ -38,7 +38,6 @@ public:
     ScVbaWorkbook(  const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,
             css::uno::Reference< css::frame::XModel > const & xModel );
     ScVbaWorkbook(  css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext >const& xContext );
-    virtual ~ScVbaWorkbook() override {}
 
     // Attributes
     virtual sal_Bool SAL_CALL getProtectStructure() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/sc/source/ui/vba/vbaworkbooks.hxx b/sc/source/ui/vba/vbaworkbooks.hxx
index f902af3..a30359b 100644
--- a/sc/source/ui/vba/vbaworkbooks.hxx
+++ b/sc/source/ui/vba/vbaworkbooks.hxx
@@ -37,7 +37,6 @@ private:
     static sal_Int16& getCurrentDelim(){ static sal_Int16 nDelim = 44; return nDelim; }
 public:
     ScVbaWorkbooks( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext );
-    virtual ~ScVbaWorkbooks() override {}
 
     // XEnumerationAccess
     virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override;
diff --git a/sc/source/ui/vba/vbaworksheets.hxx b/sc/source/ui/vba/vbaworksheets.hxx
index 037c61b..82c3e7a 100644
--- a/sc/source/ui/vba/vbaworksheets.hxx
+++ b/sc/source/ui/vba/vbaworksheets.hxx
@@ -38,7 +38,6 @@ class ScVbaWorksheets : public ScVbaWorksheets_BASE
 public:
     ScVbaWorksheets( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::container::XIndexAccess >& xSheets, const css::uno::Reference< css::frame::XModel >& xModel );
     ScVbaWorksheets( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::container::XEnumerationAccess >& xEnum,  const css::uno::Reference< css::frame::XModel >& xModel );
-    virtual ~ScVbaWorksheets() override {}
 
     bool isSelectedSheets();
 
diff --git a/sc/source/ui/vba/vbawsfunction.hxx b/sc/source/ui/vba/vbawsfunction.hxx
index d491777..058794d 100644
--- a/sc/source/ui/vba/vbawsfunction.hxx
+++ b/sc/source/ui/vba/vbawsfunction.hxx
@@ -32,7 +32,6 @@ class ScVbaWSFunction :  public ScVbaWSFunction_BASE
 {
 public:
     ScVbaWSFunction( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext);
-    virtual ~ScVbaWSFunction() override {}
 
     virtual css::uno::Reference< css::beans::XIntrospectionAccess >  SAL_CALL getIntrospection()  throw(css::uno::RuntimeException, std::exception) override;
     virtual css::uno::Any  SAL_CALL invoke(const OUString& FunctionName, const css::uno::Sequence< css::uno::Any >& Params, css::uno::Sequence< sal_Int16 >& OutParamIndex, css::uno::Sequence< css::uno::Any >& OutParam) throw(css::lang::IllegalArgumentException, css::script::CannotConvertException, css::reflection::InvocationTargetException, css::uno::RuntimeException, std::exception) override;
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 3f20cd1..0e55697 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -124,7 +124,6 @@ class ScDrawStringsVars
 
 public:
                 ScDrawStringsVars(ScOutputData* pData, bool bPTL);
-                ~ScDrawStringsVars();
 
                 //  SetPattern = ex-SetVars
                 //  SetPatternSimple: ohne Font
@@ -215,10 +214,6 @@ ScDrawStringsVars::ScDrawStringsVars(ScOutputData* pData, bool bPTL) :
     aTextConfigColor.SetColor( rColorConfig.GetColorValue(svtools::FONTCOLOR).nColor );
 }
 
-ScDrawStringsVars::~ScDrawStringsVars()
-{
-}
-
 void ScDrawStringsVars::SetShrinkScale( long nScale, SvtScriptType nScript )
 {
     // text remains valid, size is updated


More information about the Libreoffice-commits mailing list