summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-05 09:01:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-05 09:01:19 +0100
commit4d1257641e28f8df3d8def5e80280be5b1edbddb (patch)
tree6814468c14c7e64104d25c390685a5399648b7a4 /sc/source
parent2e85ce9692b8331721f4656b24e41b2673178fc7 (diff)
loplugin:unnecessaryoverride (dtors) in sc
Change-Id: Ifc44a22738cbd0ebbd81fae5caf1d9792e7746cf
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/column.cxx6
-rw-r--r--sc/source/core/data/dpgroup.cxx3
-rw-r--r--sc/source/filter/excel/xedbdata.cxx10
-rw-r--r--sc/source/filter/excel/xelink.cxx5
-rw-r--r--sc/source/filter/excel/xetable.cxx2
-rw-r--r--sc/source/filter/oox/workbookfragment.cxx2
-rw-r--r--sc/source/filter/oox/worksheethelper.cxx1
-rw-r--r--sc/source/filter/orcus/filterdetect.cxx5
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.cxx85
-rw-r--r--sc/source/filter/xml/xmlcvali.cxx24
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx5
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx14
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx5
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx5
-rw-r--r--sc/source/ui/Accessibility/AccessibleText.cxx40
-rw-r--r--sc/source/ui/vba/vbaeventshelper.cxx5
-rw-r--r--sc/source/ui/vba/vbahyperlinks.cxx5
17 files changed, 3 insertions, 219 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 7ffafdabb92b..dd2d2e0ddea8 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -2309,8 +2309,6 @@ public:
UpdateRefGroupBoundChecker(const sc::RefUpdateContext& rCxt, std::vector<SCROW>& rBounds) :
mrCxt(rCxt), mrBounds(rBounds) {}
- virtual ~UpdateRefGroupBoundChecker() override {}
-
virtual void processSharedTop( ScFormulaCell** ppCells, size_t /*nRow*/, size_t /*nLength*/ ) override
{
// Check its tokens and record its reference boundaries.
@@ -2330,8 +2328,6 @@ public:
UpdateRefExpandGroupBoundChecker(const sc::RefUpdateContext& rCxt, std::vector<SCROW>& rBounds) :
mrCxt(rCxt), mrBounds(rBounds) {}
- virtual ~UpdateRefExpandGroupBoundChecker() override {}
-
virtual void processSharedTop( ScFormulaCell** ppCells, size_t /*nRow*/, size_t /*nLength*/ ) override
{
// Check its tokens and record its reference boundaries.
@@ -2349,8 +2345,6 @@ class FormulaGroupPicker : public SharedTopFormulaCellPicker
public:
explicit FormulaGroupPicker( std::vector<sc::FormulaGroupEntry>& rGroups ) : mrGroups(rGroups) {}
- virtual ~FormulaGroupPicker() override {}
-
virtual void processNonShared( ScFormulaCell* pCell, size_t nRow ) override
{
mrGroups.push_back(sc::FormulaGroupEntry(pCell, nRow));
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index cf3cfbf407e8..c41721880b1b 100644
--- a/sc/source/core/data/dpgroup.cxx
+++ b/sc/source/core/data/dpgroup.cxx
@@ -52,7 +52,7 @@ class ScDPGroupNumFilter : public ScDPFilteredCache::FilterBase
{
public:
ScDPGroupNumFilter(const std::vector<ScDPItemData>& rValues, const ScDPNumGroupInfo& rInfo);
- virtual ~ScDPGroupNumFilter() override {}
+
virtual bool match(const ScDPItemData &rCellData) const override;
virtual std::vector<ScDPItemData> getMatchValues() const override;
private:
@@ -108,7 +108,6 @@ std::vector<ScDPItemData> ScDPGroupNumFilter::getMatchValues() const
class ScDPGroupDateFilter : public ScDPFilteredCache::FilterBase
{
public:
- virtual ~ScDPGroupDateFilter() override {}
ScDPGroupDateFilter(
const std::vector<ScDPItemData>& rValues, const Date& rNullDate, const ScDPNumGroupInfo& rNumInfo);
diff --git a/sc/source/filter/excel/xedbdata.cxx b/sc/source/filter/excel/xedbdata.cxx
index 9ac746d2f1e2..4c8e3974fc05 100644
--- a/sc/source/filter/excel/xedbdata.cxx
+++ b/sc/source/filter/excel/xedbdata.cxx
@@ -21,7 +21,6 @@ class XclExpTablesImpl5 : public XclExpTables
{
public:
explicit XclExpTablesImpl5( const XclExpRoot& rRoot );
- virtual ~XclExpTablesImpl5() override;
virtual void Save( XclExpStream& rStrm ) override;
virtual void SaveXml( XclExpXmlStream& rStrm ) override;
@@ -32,7 +31,6 @@ class XclExpTablesImpl8 : public XclExpTables
{
public:
explicit XclExpTablesImpl8( const XclExpRoot& rRoot );
- virtual ~XclExpTablesImpl8() override;
virtual void Save( XclExpStream& rStrm ) override;
virtual void SaveXml( XclExpXmlStream& rStrm ) override;
@@ -44,10 +42,6 @@ XclExpTablesImpl5::XclExpTablesImpl5( const XclExpRoot& rRoot ) :
{
}
-XclExpTablesImpl5::~XclExpTablesImpl5()
-{
-}
-
void XclExpTablesImpl5::Save( XclExpStream& /*rStrm*/ )
{
// not implemented
@@ -64,10 +58,6 @@ XclExpTablesImpl8::XclExpTablesImpl8( const XclExpRoot& rRoot ) :
{
}
-XclExpTablesImpl8::~XclExpTablesImpl8()
-{
-}
-
void XclExpTablesImpl8::Save( XclExpStream& /*rStrm*/ )
{
// not implemented
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx
index 2bfe77975264..dd8025a56d30 100644
--- a/sc/source/filter/excel/xelink.cxx
+++ b/sc/source/filter/excel/xelink.cxx
@@ -51,7 +51,6 @@ public:
/** @param nFlags The flags to export. */
explicit XclExpExtNameBase( const XclExpRoot& rRoot,
const OUString& rName, sal_uInt16 nFlags = 0 );
- virtual ~XclExpExtNameBase() override;
/** Returns the name string of the external name. */
inline const OUString& GetName() const { return maName; }
@@ -906,10 +905,6 @@ XclExpExtNameBase::XclExpExtNameBase(
SetRecSize( 6 + mxName->GetSize() );
}
-XclExpExtNameBase::~XclExpExtNameBase()
-{
-}
-
void XclExpExtNameBase::WriteBody( XclExpStream& rStrm )
{
rStrm << mnFlags
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index fe39f238d4f9..d22eb46a9e57 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -2170,7 +2170,7 @@ public:
comphelper::ThreadTask( pTag ),
mbProgress( bProgress ),
mrColXFIndexes( rColXFIndexes ) {}
- virtual ~RowFinalizeTask() override {}
+
void push_back( XclExpRow *pRow ) { maRows.push_back( pRow ); }
virtual void doWork() override
{
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx
index 53ae02fc26b9..cb6d2987e7f9 100644
--- a/sc/source/filter/oox/workbookfragment.cxx
+++ b/sc/source/filter/oox/workbookfragment.cxx
@@ -270,7 +270,7 @@ class ProgressBarTimer : private Timer
, mxWrapped(xRef)
{
}
- virtual ~ProgressWrapper() override {}
+
// IProgressBar
virtual double getPosition() const override { return mfPosition; }
virtual void setPosition( double fPosition ) override { mfPosition = fPosition; }
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index 3583837c63ba..4fd1af0e7494 100644
--- a/sc/source/filter/oox/worksheethelper.cxx
+++ b/sc/source/filter/oox/worksheethelper.cxx
@@ -207,7 +207,6 @@ public:
const ISegmentProgressBarRef& rxProgressBar,
WorksheetType eSheetType,
SCTAB nSheet );
- virtual ~WorksheetGlobals() override {}
/** Returns true, if this helper refers to an existing Calc sheet. */
inline bool isValidSheet() const { return mxSheet.is(); }
diff --git a/sc/source/filter/orcus/filterdetect.cxx b/sc/source/filter/orcus/filterdetect.cxx
index a24b0565dfc1..307ad59f4e1d 100644
--- a/sc/source/filter/orcus/filterdetect.cxx
+++ b/sc/source/filter/orcus/filterdetect.cxx
@@ -27,7 +27,6 @@ class OrcusFormatDetect : public ::cppu::WeakImplHelper<
{
public:
explicit OrcusFormatDetect();
- virtual ~OrcusFormatDetect() override;
virtual OUString SAL_CALL getImplementationName()
throw( css::uno::RuntimeException, std::exception ) override;
@@ -49,10 +48,6 @@ OrcusFormatDetect::OrcusFormatDetect()
{
}
-OrcusFormatDetect::~OrcusFormatDetect()
-{
-}
-
OUString OrcusFormatDetect::getImplementationName()
throw( css::uno::RuntimeException, std::exception )
{
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index e36f54f69329..4e6803d9e1c2 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -51,7 +51,6 @@ public:
ScXMLChangeInfoContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLChangeInfoContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -68,7 +67,6 @@ public:
ScXMLBigRangeContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScBigRange& rBigRange);
- virtual ~ScXMLBigRangeContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -100,7 +98,6 @@ public:
ScXMLCellContentDeletionContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLCellContentDeletionContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -117,7 +114,6 @@ public:
ScXMLDependenceContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLDependenceContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -134,7 +130,6 @@ public:
ScXMLDependingsContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLDependingsContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -151,7 +146,6 @@ public:
ScXMLChangeDeletionContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLChangeDeletionContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -168,7 +162,6 @@ public:
ScXMLDeletionsContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLDeletionsContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -229,7 +222,6 @@ public:
formula::FormulaGrammar::Grammar& rGrammar,
OUString& rInputString, double& fValue, sal_uInt16& nType,
sal_uInt8& nMatrixFlag, sal_Int32& nMatrixCols, sal_Int32& nMatrixRows);
- virtual ~ScXMLChangeCellContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -262,7 +254,6 @@ public:
ScXMLPreviousContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLPreviousContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -280,7 +271,6 @@ public:
ScXMLContentChangeContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLContentChangeContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -296,7 +286,6 @@ public:
ScXMLInsertionContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLInsertionContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -312,7 +301,6 @@ public:
ScXMLInsertionCutOffContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLInsertionCutOffContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -328,7 +316,6 @@ public:
ScXMLMovementCutOffContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLMovementCutOffContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -344,7 +331,6 @@ public:
ScXMLCutOffsContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLCutOffsContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -360,7 +346,6 @@ public:
ScXMLDeletionContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLDeletionContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -378,7 +363,6 @@ public:
ScXMLMovementContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLMovementContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -394,7 +378,6 @@ public:
ScXMLRejectionContext( ScXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper);
- virtual ~ScXMLRejectionContext() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -514,10 +497,6 @@ ScXMLChangeInfoContext::ScXMLChangeInfoContext( ScXMLImport& rImport,
}
}
-ScXMLChangeInfoContext::~ScXMLChangeInfoContext()
-{
-}
-
SvXMLImportContext *ScXMLChangeInfoContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -626,10 +605,6 @@ ScXMLBigRangeContext::ScXMLBigRangeContext( ScXMLImport& rImport,
nEndColumn, nEndRow, nEndTable);
}
-ScXMLBigRangeContext::~ScXMLBigRangeContext()
-{
-}
-
SvXMLImportContext *ScXMLBigRangeContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& /* xAttrList */ )
@@ -675,10 +650,6 @@ ScXMLCellContentDeletionContext::ScXMLCellContentDeletionContext( ScXMLImport&
}
}
-ScXMLCellContentDeletionContext::~ScXMLCellContentDeletionContext()
-{
-}
-
SvXMLImportContext *ScXMLCellContentDeletionContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -744,10 +715,6 @@ ScXMLDependenceContext::ScXMLDependenceContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->AddDependence(nID);
}
-ScXMLDependenceContext::~ScXMLDependenceContext()
-{
-}
-
SvXMLImportContext *ScXMLDependenceContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& /* xAttrList */ )
@@ -770,10 +737,6 @@ ScXMLDependingsContext::ScXMLDependingsContext( ScXMLImport& rImport,
// here are no attributes
}
-ScXMLDependingsContext::~ScXMLDependingsContext()
-{
-}
-
SvXMLImportContext *ScXMLDependingsContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -824,10 +787,6 @@ ScXMLChangeDeletionContext::ScXMLChangeDeletionContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->AddDeleted(nID);
}
-ScXMLChangeDeletionContext::~ScXMLChangeDeletionContext()
-{
-}
-
SvXMLImportContext *ScXMLChangeDeletionContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& /* xAttrList */ )
@@ -850,10 +809,6 @@ ScXMLDeletionsContext::ScXMLDeletionsContext( ScXMLImport& rImport,
// here are no attributes
}
-ScXMLDeletionsContext::~ScXMLDeletionsContext()
-{
-}
-
SvXMLImportContext *ScXMLDeletionsContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1065,10 +1020,6 @@ ScXMLChangeCellContext::ScXMLChangeCellContext( ScXMLImport& rImport,
nMatrixFlag = MM_FORMULA;
}
-ScXMLChangeCellContext::~ScXMLChangeCellContext()
-{
-}
-
SvXMLImportContext *ScXMLChangeCellContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1200,10 +1151,6 @@ ScXMLPreviousContext::ScXMLPreviousContext( ScXMLImport& rImport,
}
}
-ScXMLPreviousContext::~ScXMLPreviousContext()
-{
-}
-
SvXMLImportContext *ScXMLPreviousContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1273,10 +1220,6 @@ ScXMLContentChangeContext::ScXMLContentChangeContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->SetRejectingNumber(nRejectingNumber);
}
-ScXMLContentChangeContext::~ScXMLContentChangeContext()
-{
-}
-
SvXMLImportContext *ScXMLContentChangeContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1388,10 +1331,6 @@ ScXMLInsertionContext::ScXMLInsertionContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->SetPosition(nPosition, nCount, nTable);
}
-ScXMLInsertionContext::~ScXMLInsertionContext()
-{
-}
-
SvXMLImportContext *ScXMLInsertionContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1455,10 +1394,6 @@ ScXMLInsertionCutOffContext::ScXMLInsertionCutOffContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->SetInsertionCutOff(nID, nPosition);
}
-ScXMLInsertionCutOffContext::~ScXMLInsertionCutOffContext()
-{
-}
-
SvXMLImportContext *ScXMLInsertionCutOffContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& /* xAttrList */ )
@@ -1518,10 +1453,6 @@ ScXMLMovementCutOffContext::ScXMLMovementCutOffContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->AddMoveCutOff(nID, nStartPosition, nEndPosition);
}
-ScXMLMovementCutOffContext::~ScXMLMovementCutOffContext()
-{
-}
-
SvXMLImportContext *ScXMLMovementCutOffContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& /* xAttrList */ )
@@ -1544,10 +1475,6 @@ ScXMLCutOffsContext::ScXMLCutOffsContext( ScXMLImport& rImport,
// here are no attributes
}
-ScXMLCutOffsContext::~ScXMLCutOffsContext()
-{
-}
-
SvXMLImportContext *ScXMLCutOffsContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1648,10 +1575,6 @@ ScXMLDeletionContext::ScXMLDeletionContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->SetMultiSpanned(static_cast<sal_Int16>(nMultiSpanned));
}
-ScXMLDeletionContext::~ScXMLDeletionContext()
-{
-}
-
SvXMLImportContext *ScXMLDeletionContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1734,10 +1657,6 @@ ScXMLMovementContext::ScXMLMovementContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->SetRejectingNumber(nRejectingNumber);
}
-ScXMLMovementContext::~ScXMLMovementContext()
-{
-}
-
SvXMLImportContext *ScXMLMovementContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -1819,10 +1738,6 @@ ScXMLRejectionContext::ScXMLRejectionContext( ScXMLImport& rImport,
pChangeTrackingImportHelper->SetRejectingNumber(nRejectingNumber);
}
-ScXMLRejectionContext::~ScXMLRejectionContext()
-{
-}
-
SvXMLImportContext *ScXMLRejectionContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
diff --git a/sc/source/filter/xml/xmlcvali.cxx b/sc/source/filter/xml/xmlcvali.cxx
index 8fdd9af90848..b736cec252c3 100644
--- a/sc/source/filter/xml/xmlcvali.cxx
+++ b/sc/source/filter/xml/xmlcvali.cxx
@@ -62,8 +62,6 @@ public:
const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList);
- virtual ~ScXMLContentValidationContext() override;
-
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -91,8 +89,6 @@ public:
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLContentValidationContext* pValidationContext);
- virtual ~ScXMLHelpMessageContext() override;
-
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -117,8 +113,6 @@ public:
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLContentValidationContext* pValidationContext);
- virtual ~ScXMLErrorMessageContext() override;
-
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -139,8 +133,6 @@ public:
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
ScXMLContentValidationContext* pValidationContext);
- virtual ~ScXMLErrorMacroContext() override;
-
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
@@ -244,10 +236,6 @@ ScXMLContentValidationContext::ScXMLContentValidationContext( ScXMLImport& rImpo
}
}
-ScXMLContentValidationContext::~ScXMLContentValidationContext()
-{
-}
-
SvXMLImportContext *ScXMLContentValidationContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -487,10 +475,6 @@ ScXMLHelpMessageContext::ScXMLHelpMessageContext( ScXMLImport& rImport,
}
}
-ScXMLHelpMessageContext::~ScXMLHelpMessageContext()
-{
-}
-
SvXMLImportContext *ScXMLHelpMessageContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -559,10 +543,6 @@ ScXMLErrorMessageContext::ScXMLErrorMessageContext( ScXMLImport& rImport,
}
}
-ScXMLErrorMessageContext::~ScXMLErrorMessageContext()
-{
-}
-
SvXMLImportContext *ScXMLErrorMessageContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList )
@@ -625,10 +605,6 @@ ScXMLErrorMacroContext::ScXMLErrorMacroContext( ScXMLImport& rImport,
}
}
-ScXMLErrorMacroContext::~ScXMLErrorMacroContext()
-{
-}
-
SvXMLImportContext *ScXMLErrorMacroContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& /* xAttrList */ )
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index ece199cc2f4f..bd705fb1f174 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -306,16 +306,11 @@ class ScXMLShapeExport : public XMLShapeExport
{
public:
explicit ScXMLShapeExport(SvXMLExport& rExp) : XMLShapeExport(rExp) {}
- virtual ~ScXMLShapeExport() override;
/** is called before a shape element for the given XShape is exported */
virtual void onExport( const uno::Reference < drawing::XShape >& xShape ) override;
};
-ScXMLShapeExport::~ScXMLShapeExport()
-{
-}
-
void ScXMLShapeExport::onExport( const uno::Reference < drawing::XShape >& xShape )
{
uno::Reference< beans::XPropertySet > xShapeProp( xShape, uno::UNO_QUERY );
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index d74f87147882..6b8e31b30a25 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -232,7 +232,6 @@ public:
sal_uInt16 nPrfx,
const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& xAttrList );
- virtual ~ScXMLDocContext_Impl() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -247,10 +246,6 @@ SvXMLImportContext( rImport, nPrfx, rLName )
}
-ScXMLDocContext_Impl::~ScXMLDocContext_Impl()
-{
-}
-
// context for flat file xml format
class ScXMLFlatDocContext_Impl
: public ScXMLDocContext_Impl, public SvXMLMetaDocumentContext
@@ -261,8 +256,6 @@ public:
const uno::Reference<xml::sax::XAttributeList>& i_xAttrList,
const uno::Reference<document::XDocumentProperties>& i_xDocProps);
- virtual ~ScXMLFlatDocContext_Impl() override;
-
virtual SvXMLImportContext *CreateChildContext(
sal_uInt16 i_nPrefix, const OUString& i_rLocalName,
const uno::Reference<xml::sax::XAttributeList>& i_xAttrList) override;
@@ -279,8 +272,6 @@ SvXMLMetaDocumentContext(i_rImport, i_nPrefix, i_rLName,
{
}
-ScXMLFlatDocContext_Impl::~ScXMLFlatDocContext_Impl() { }
-
SvXMLImportContext *ScXMLFlatDocContext_Impl::CreateChildContext(
sal_uInt16 i_nPrefix, const OUString& i_rLocalName,
const uno::Reference<xml::sax::XAttributeList>& i_xAttrList)
@@ -302,7 +293,6 @@ public:
ScXMLBodyContext_Impl( ScXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName,
const uno::Reference< xml::sax::XAttributeList > & xAttrList );
- virtual ~ScXMLBodyContext_Impl() override;
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -316,10 +306,6 @@ ScXMLImportContext( rImport, nPrfx, rLName )
{
}
-ScXMLBodyContext_Impl::~ScXMLBodyContext_Impl()
-{
-}
-
SvXMLImportContext *ScXMLBodyContext_Impl::CreateChildContext(
sal_uInt16 /* nPrefix */,
const OUString& rLocalName,
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index d0f8a4365a96..b6f4d63b171e 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -355,7 +355,6 @@ public:
SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName,
const uno::Reference< xml::sax::XAttributeList > & xAttrList );
- virtual ~ScXMLMapContext() override;
ScCondFormatEntry* CreateConditionEntry();
};
@@ -416,10 +415,6 @@ ScCondFormatEntry* ScXMLMapContext::CreateConditionEntry()
return pEntry;
}
-ScXMLMapContext::~ScXMLMapContext()
-{
-}
-
void XMLTableStyleContext::SetAttribute( sal_uInt16 nPrefixKey,
const OUString& rLocalName,
const OUString& rValue )
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index 05108da8ba07..31c49300e57b 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -482,7 +482,6 @@ public:
ScIAccessibleViewForwarder(ScPreviewShell* pViewShell,
ScAccessibleDocumentPagePreview* pAccDoc,
const MapMode& aMapMode);
- virtual ~ScIAccessibleViewForwarder() override;
///===== IAccessibleViewForwarder ========================================
@@ -510,10 +509,6 @@ ScIAccessibleViewForwarder::ScIAccessibleViewForwarder(ScPreviewShell* pViewShel
{
}
-ScIAccessibleViewForwarder::~ScIAccessibleViewForwarder()
-{
-}
-
///===== IAccessibleViewForwarder ========================================
Rectangle ScIAccessibleViewForwarder::GetVisibleArea() const
diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx
index 63ca5b087b66..1323dd17e04b 100644
--- a/sc/source/ui/Accessibility/AccessibleText.cxx
+++ b/sc/source/ui/Accessibility/AccessibleText.cxx
@@ -52,7 +52,6 @@ class ScViewForwarder : public SvxViewForwarder
ScSplitPos meSplitPos;
public:
ScViewForwarder(ScTabViewShell* pViewShell, ScSplitPos eSplitPos, const ScAddress& rCell);
- virtual ~ScViewForwarder() override;
virtual bool IsValid() const override;
virtual Rectangle GetVisArea() const override;
@@ -70,10 +69,6 @@ ScViewForwarder::ScViewForwarder(ScTabViewShell* pViewShell, ScSplitPos eSplitPo
{
}
-ScViewForwarder::~ScViewForwarder()
-{
-}
-
bool ScViewForwarder::IsValid() const
{
return mpViewShell != nullptr;
@@ -150,7 +145,6 @@ class ScEditObjectViewForwarder : public SvxViewForwarder
public:
ScEditObjectViewForwarder( vcl::Window* pWindow,
const EditView* _pEditView);
- virtual ~ScEditObjectViewForwarder() override;
virtual bool IsValid() const override;
virtual Rectangle GetVisArea() const override;
@@ -168,10 +162,6 @@ ScEditObjectViewForwarder::ScEditObjectViewForwarder( vcl::Window* pWindow,
{
}
-ScEditObjectViewForwarder::~ScEditObjectViewForwarder()
-{
-}
-
bool ScEditObjectViewForwarder::IsValid() const
{
return (mpWindow != nullptr);
@@ -248,7 +238,6 @@ protected:
ScPreviewShell* mpViewShell;
public:
explicit ScPreviewViewForwarder(ScPreviewShell* pViewShell);
- virtual ~ScPreviewViewForwarder() override;
virtual bool IsValid() const override;
virtual Rectangle GetVisArea() const override;
@@ -268,10 +257,6 @@ ScPreviewViewForwarder::ScPreviewViewForwarder(ScPreviewShell* pViewShell)
{
}
-ScPreviewViewForwarder::~ScPreviewViewForwarder()
-{
-}
-
bool ScPreviewViewForwarder::IsValid() const
{
return mpViewShell != nullptr;
@@ -376,7 +361,6 @@ class ScPreviewHeaderFooterViewForwarder : public ScPreviewViewForwarder
bool mbHeader;
public:
ScPreviewHeaderFooterViewForwarder(ScPreviewShell* pViewShell, bool bHeader);
- virtual ~ScPreviewHeaderFooterViewForwarder() override;
virtual Rectangle GetVisArea() const override;
};
@@ -388,10 +372,6 @@ ScPreviewHeaderFooterViewForwarder::ScPreviewHeaderFooterViewForwarder(ScPreview
{
}
-ScPreviewHeaderFooterViewForwarder::~ScPreviewHeaderFooterViewForwarder()
-{
-}
-
Rectangle ScPreviewHeaderFooterViewForwarder::GetVisArea() const
{
Rectangle aVisArea;
@@ -418,7 +398,6 @@ class ScPreviewCellViewForwarder : public ScPreviewViewForwarder
public:
ScPreviewCellViewForwarder(ScPreviewShell* pViewShell,
ScAddress aCellPos);
- virtual ~ScPreviewCellViewForwarder() override;
virtual Rectangle GetVisArea() const override;
};
@@ -431,10 +410,6 @@ ScPreviewCellViewForwarder::ScPreviewCellViewForwarder(ScPreviewShell* pViewShel
{
}
-ScPreviewCellViewForwarder::~ScPreviewCellViewForwarder()
-{
-}
-
Rectangle ScPreviewCellViewForwarder::GetVisArea() const
{
Rectangle aVisArea;
@@ -460,7 +435,6 @@ public:
ScPreviewHeaderCellViewForwarder(ScPreviewShell* pViewShell,
ScAddress aCellPos,
bool bColHeader);
- virtual ~ScPreviewHeaderCellViewForwarder() override;
virtual Rectangle GetVisArea() const override;
};
@@ -475,10 +449,6 @@ ScPreviewHeaderCellViewForwarder::ScPreviewHeaderCellViewForwarder(ScPreviewShel
{
}
-ScPreviewHeaderCellViewForwarder::~ScPreviewHeaderCellViewForwarder()
-{
-}
-
Rectangle ScPreviewHeaderCellViewForwarder::GetVisArea() const
{
Rectangle aVisArea;
@@ -504,7 +474,6 @@ public:
ScPreviewNoteViewForwarder(ScPreviewShell* pViewShell,
ScAddress aCellPos,
bool bNoteMark);
- virtual ~ScPreviewNoteViewForwarder() override;
virtual Rectangle GetVisArea() const override;
};
@@ -519,10 +488,6 @@ ScPreviewNoteViewForwarder::ScPreviewNoteViewForwarder(ScPreviewShell* pViewShel
{
}
-ScPreviewNoteViewForwarder::~ScPreviewNoteViewForwarder()
-{
-}
-
Rectangle ScPreviewNoteViewForwarder::GetVisArea() const
{
Rectangle aVisArea;
@@ -546,7 +511,6 @@ class ScEditViewForwarder : public SvxEditViewForwarder
VclPtr<vcl::Window> mpWindow;
public:
ScEditViewForwarder(EditView* pEditView, vcl::Window* pWin);
- virtual ~ScEditViewForwarder() override;
virtual bool IsValid() const override;
virtual Rectangle GetVisArea() const override;
@@ -567,10 +531,6 @@ ScEditViewForwarder::ScEditViewForwarder(EditView* pEditView, vcl::Window* pWin)
{
}
-ScEditViewForwarder::~ScEditViewForwarder()
-{
-}
-
bool ScEditViewForwarder::IsValid() const
{
return mpWindow && mpEditView;
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx
index 67fbf6486d39..a1ff3a5158c7 100644
--- a/sc/source/ui/vba/vbaeventshelper.cxx
+++ b/sc/source/ui/vba/vbaeventshelper.cxx
@@ -116,7 +116,6 @@ class ScVbaEventListener : public ::cppu::WeakImplHelper< awt::XTopWindowListene
{
public:
ScVbaEventListener( ScVbaEventsHelper& rVbaEvents, const uno::Reference< frame::XModel >& rxModel, ScDocShell* pDocShell );
- virtual ~ScVbaEventListener() override;
/** Starts listening to the passed document controller. */
void startControllerListening( const uno::Reference< frame::XController >& rxController );
@@ -201,10 +200,6 @@ ScVbaEventListener::ScVbaEventListener( ScVbaEventsHelper& rVbaEvents, const uno
}
}
-ScVbaEventListener::~ScVbaEventListener()
-{
-}
-
void ScVbaEventListener::startControllerListening( const uno::Reference< frame::XController >& rxController )
{
::osl::MutexGuard aGuard( maMutex );
diff --git a/sc/source/ui/vba/vbahyperlinks.cxx b/sc/source/ui/vba/vbahyperlinks.cxx
index b64a09edb31a..3a3609efb990 100644
--- a/sc/source/ui/vba/vbahyperlinks.cxx
+++ b/sc/source/ui/vba/vbahyperlinks.cxx
@@ -106,7 +106,6 @@ class ScVbaHlinkContainer : public ::cppu::WeakImplHelper< container::XIndexAcce
public:
explicit ScVbaHlinkContainer() throw (uno::RuntimeException);
explicit ScVbaHlinkContainer( const ScVbaHlinkContainerRef& rxSheetContainer, const ScRangeList& rScRanges ) throw (uno::RuntimeException);
- virtual ~ScVbaHlinkContainer() override;
/** Inserts the passed hyperlink into the collection. Will remove a
Hyperlink object with the same anchor as the passed Hyperlink object. */
@@ -142,10 +141,6 @@ ScVbaHlinkContainer::ScVbaHlinkContainer( const ScVbaHlinkContainerRef& rxSheetC
}
}
-ScVbaHlinkContainer::~ScVbaHlinkContainer()
-{
-}
-
void ScVbaHlinkContainer::insertHyperlink( const uno::Reference< excel::XHyperlink >& rxHlink ) throw (uno::RuntimeException)
{
HyperlinkVector::iterator aIt = ::std::find_if( maHlinks.begin(), maHlinks.end(), EqualAnchorFunctor( rxHlink ) );