diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 08:35:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 08:15:15 +0000 |
commit | 3c6b7c8b43d23dd7de46c02ee2cfa5bd2a97f168 (patch) | |
tree | 22b9d585ed6ba4c1d678f218864fd14fc8a4b3ca /sc | |
parent | 4fabc2347c75bd09312c6d4b5c7695c26914af52 (diff) |
loplugin: unnecessary destructor sc
Change-Id: I877bc0927aff7d175c1978fdf3db55d2e048d3b9
Reviewed-on: https://gerrit.libreoffice.org/33510
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
63 files changed, 0 insertions, 120 deletions
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx index 1539ed3dfa1c..0c6b3c79d09d 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 4e8c951be750..b36df3df6dbd 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 e3a19d05cf03..277078c4aac1 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 665acbd635c9..61b29801a156 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 2b160f43ddd9..9c4a94b0056e 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 7b6e7d1d5aaa..ed3acc48051c 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 eb09413bfe6a..e02ebd1ed070 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 57fe258661de..f51a592e0d60 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 38796fc05700..36b65fdd19e4 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 7dd37f43ad44..5f3b6cfc7556 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 4d420d6f117d..92ceaa99d84d 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 678f30676c9c..d99476ea9a76 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 e8d313a7da64..5892a3b91a45 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 6f67becea43b..6a4124f5a9bf 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 0d2c3732f5c3..f6e7bbfaaa60 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 d7825f056d91..73f4ebc3b09d 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 98b2929167cc..d76f8a39abbe 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 a4cd2afc0796..3d5bc87571d3 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 4f8ac4dbe640..b8ce3466ef85 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 39a76da1aaa3..309316cfbeff 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 06884c56b6af..1dc5e59dd9c3 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 96bf26a26a6c..dd294347e9b9 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 ef9f96ba8484..25c2ecee968a 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 9ef397192f47..cf548127d464 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 337239794644..44caba742225 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 c963b99142c2..2d4c2dc66795 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 1fe9dd06328d..730416bf2f80 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 d8e9de5fd0c5..06f582fe5e3d 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 0f041bc912d7..b21c1e1f578f 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 feedc16668de..bc5d9f3efb0a 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 c93e4b6a9580..963e3dbc154c 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 c3eab1570556..47e174b8ac0c 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 494e63020521..d50711cd3598 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 6390df7fbedf..80e24952ef6d 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 5c0b2dff233c..1723c9b0863b 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 bebf5d7f54dd..298d390e9372 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 e6757a749b79..0c5f19899d84 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 56c1efba205e..3253d94a8ca0 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 7e43372fd795..c727b192a2b3 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 350e32a612c8..fd76c74a8bf1 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 c469ebe4cb95..536e227a9d94 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 582b0c6d136a..76b594b8d0b4 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 664c7f5bea79..61076363174d 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 16db60a2643d..552b472fe073 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 b1d7a60da096..5383a8501768 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 b310e8a2c429..9a7e7315d94a 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 8f56fb8e7986..f36fa59f06e4 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 7d6991e4d7f7..dc62a5af18fc 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 bfe1eb0a1c80..604bd6fa4bff 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 32dca42a5420..65abdbf1a7b3 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 afa2f90330f3..ae1991e60007 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 125fa7aae8b0..9b26b34e7da5 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 331c7d65e06a..762e6e7c8af9 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 579a42727ae8..f0b84bc3eabd 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 9edeedc2dda1..908afee55bd1 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 f1b0c53fd90e..fd8521ccb618 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 4304d030b71f..ff223c822144 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 2d72b463002e..262287b2b778 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 34bb2ad6b95e..647641e1d6e8 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 f902af3e5dc2..a30359be3c69 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 037c61bc4586..82c3e7aeb500 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 d491777a82d7..058794d748cc 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 3f20cd191c65..0e5569708f4d 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 |