summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-13 13:09:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-13 13:19:22 +0200
commit91dd2db17bd6cb9b357d1d69b187174e31eabef0 (patch)
treed634de3a1a6820904b5699c2136b79b1a5a807c7 /sc/inc
parent6f8ea7e89ea190b9462c945d55a3ad8777b2f3ef (diff)
loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/AccessibleFilterMenu.hxx2
-rw-r--r--sc/inc/AccessibleFilterMenuItem.hxx2
-rw-r--r--sc/inc/AccessibleFilterTopWindow.hxx2
-rw-r--r--sc/inc/AccessibleGlobal.hxx2
-rw-r--r--sc/inc/NumberFormatControl.hxx2
-rw-r--r--sc/inc/addruno.hxx2
-rw-r--r--sc/inc/afmtuno.hxx6
-rw-r--r--sc/inc/appluno.hxx6
-rw-r--r--sc/inc/arealink.hxx2
-rw-r--r--sc/inc/attrib.hxx18
-rw-r--r--sc/inc/bulkdatahint.hxx2
-rw-r--r--sc/inc/cellsuno.hxx28
-rw-r--r--sc/inc/chart2uno.hxx10
-rw-r--r--sc/inc/chartlis.hxx4
-rw-r--r--sc/inc/chartuno.hxx4
-rw-r--r--sc/inc/chgtrack.hxx10
-rw-r--r--sc/inc/clipcontext.hxx8
-rw-r--r--sc/inc/colorscale.hxx4
-rw-r--r--sc/inc/compiler.hxx2
-rw-r--r--sc/inc/conditio.hxx6
-rw-r--r--sc/inc/confuno.hxx2
-rw-r--r--sc/inc/cursuno.hxx2
-rw-r--r--sc/inc/dapiuno.hxx22
-rw-r--r--sc/inc/datauno.hxx24
-rw-r--r--sc/inc/dbdata.hxx4
-rw-r--r--sc/inc/defaultsoptions.hxx2
-rw-r--r--sc/inc/defltuno.hxx2
-rw-r--r--sc/inc/dispuno.hxx4
-rw-r--r--sc/inc/dociter.hxx4
-rw-r--r--sc/inc/docoptio.hxx2
-rw-r--r--sc/inc/docpool.hxx2
-rw-r--r--sc/inc/docuno.hxx16
-rw-r--r--sc/inc/dpfilteredcache.hxx4
-rw-r--r--sc/inc/dpgroup.hxx2
-rw-r--r--sc/inc/dpsdbtab.hxx2
-rw-r--r--sc/inc/dpshttab.hxx2
-rw-r--r--sc/inc/dptabsrc.hxx18
-rw-r--r--sc/inc/drawpage.hxx2
-rw-r--r--sc/inc/drdefuno.hxx2
-rw-r--r--sc/inc/drwlayer.hxx10
-rw-r--r--sc/inc/editsrc.hxx10
-rw-r--r--sc/inc/editutil.hxx2
-rw-r--r--sc/inc/eventuno.hxx2
-rw-r--r--sc/inc/externalrefmgr.hxx4
-rw-r--r--sc/inc/fielduno.hxx6
-rw-r--r--sc/inc/filtuno.hxx2
-rw-r--r--sc/inc/fmtuno.hxx6
-rw-r--r--sc/inc/forbiuno.hxx2
-rw-r--r--sc/inc/formulacell.hxx2
-rw-r--r--sc/inc/formulagroup.hxx2
-rw-r--r--sc/inc/formulaopt.hxx2
-rw-r--r--sc/inc/funcuno.hxx2
-rw-r--r--sc/inc/grouparealistener.hxx2
-rw-r--r--sc/inc/hints.hxx12
-rw-r--r--sc/inc/linkuno.hxx18
-rw-r--r--sc/inc/listenerquery.hxx4
-rw-r--r--sc/inc/lookupcache.hxx2
-rw-r--r--sc/inc/miscuno.hxx4
-rw-r--r--sc/inc/nameuno.hxx12
-rw-r--r--sc/inc/notesuno.hxx2
-rw-r--r--sc/inc/optuno.hxx2
-rw-r--r--sc/inc/pageuno.hxx2
-rw-r--r--sc/inc/patattr.hxx2
-rw-r--r--sc/inc/printopt.hxx2
-rw-r--r--sc/inc/queryparam.hxx8
-rw-r--r--sc/inc/rangelst.hxx4
-rw-r--r--sc/inc/refhint.hxx12
-rw-r--r--sc/inc/refreshtimer.hxx2
-rw-r--r--sc/inc/scmatrix.hxx4
-rw-r--r--sc/inc/scmod.hxx2
-rw-r--r--sc/inc/shapeuno.hxx2
-rw-r--r--sc/inc/srchuno.hxx2
-rw-r--r--sc/inc/stlpool.hxx2
-rw-r--r--sc/inc/stlsheet.hxx2
-rw-r--r--sc/inc/styleuno.hxx6
-rw-r--r--sc/inc/tablink.hxx2
-rw-r--r--sc/inc/tabprotection.hxx4
-rw-r--r--sc/inc/targuno.hxx6
-rw-r--r--sc/inc/textuno.hxx16
-rw-r--r--sc/inc/token.hxx14
-rw-r--r--sc/inc/tokenarray.hxx2
-rw-r--r--sc/inc/tokenuno.hxx2
-rw-r--r--sc/inc/undorangename.hxx4
-rw-r--r--sc/inc/unoreflist.hxx2
-rw-r--r--sc/inc/userdat.hxx4
-rw-r--r--sc/inc/validat.hxx2
-rw-r--r--sc/inc/viewopti.hxx2
-rw-r--r--sc/inc/viewuno.hxx8
88 files changed, 235 insertions, 235 deletions
diff --git a/sc/inc/AccessibleFilterMenu.hxx b/sc/inc/AccessibleFilterMenu.hxx
index ebd1438f0d19..9955d7c16741 100644
--- a/sc/inc/AccessibleFilterMenu.hxx
+++ b/sc/inc/AccessibleFilterMenu.hxx
@@ -50,7 +50,7 @@ public:
explicit ScAccessibleFilterMenu(
const css::uno::Reference< css::accessibility::XAccessible>& rxParent,
ScMenuFloatingWindow* pWin, const OUString& rName, size_t nMenuPos);
- virtual ~ScAccessibleFilterMenu();
+ virtual ~ScAccessibleFilterMenu() override;
virtual bool SAL_CALL isVisible()
throw (css::uno::RuntimeException, std::exception) override;
diff --git a/sc/inc/AccessibleFilterMenuItem.hxx b/sc/inc/AccessibleFilterMenuItem.hxx
index 3dd57799f1a8..b9f4ebabbe34 100644
--- a/sc/inc/AccessibleFilterMenuItem.hxx
+++ b/sc/inc/AccessibleFilterMenuItem.hxx
@@ -40,7 +40,7 @@ public:
const css::uno::Reference< css::accessibility::XAccessible>& rxParent,
ScMenuFloatingWindow* pWin, const OUString& rName, size_t nMenuPos);
- virtual ~ScAccessibleFilterMenuItem();
+ virtual ~ScAccessibleFilterMenuItem() override;
/// XAccessibleContext
diff --git a/sc/inc/AccessibleFilterTopWindow.hxx b/sc/inc/AccessibleFilterTopWindow.hxx
index 12a77c82d1ea..5a8af2f9f0ee 100644
--- a/sc/inc/AccessibleFilterTopWindow.hxx
+++ b/sc/inc/AccessibleFilterTopWindow.hxx
@@ -31,7 +31,7 @@ public:
const css::uno::Reference< css::accessibility::XAccessible>& rxParent,
ScCheckListMenuWindow* pWin,
const OUString& rName);
- virtual ~ScAccessibleFilterTopWindow();
+ virtual ~ScAccessibleFilterTopWindow() override;
// XAccessibleContext
diff --git a/sc/inc/AccessibleGlobal.hxx b/sc/inc/AccessibleGlobal.hxx
index 162c011afc39..12106ddd82e6 100644
--- a/sc/inc/AccessibleGlobal.hxx
+++ b/sc/inc/AccessibleGlobal.hxx
@@ -30,7 +30,7 @@ class ScAccessibleStateSet : public ::cppu::WeakImplHelper< css::accessibility::
{
public:
ScAccessibleStateSet();
- virtual ~ScAccessibleStateSet();
+ virtual ~ScAccessibleStateSet() override;
// XAccessibleStateSet
diff --git a/sc/inc/NumberFormatControl.hxx b/sc/inc/NumberFormatControl.hxx
index b7ecb4606399..ca6fdff57f2c 100644
--- a/sc/inc/NumberFormatControl.hxx
+++ b/sc/inc/NumberFormatControl.hxx
@@ -32,7 +32,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
ScNumberFormatControl(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx);
- virtual ~ScNumberFormatControl();
+ virtual ~ScNumberFormatControl() override;
virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState) override;
diff --git a/sc/inc/addruno.hxx b/sc/inc/addruno.hxx
index 7b42f654e885..009740167c84 100644
--- a/sc/inc/addruno.hxx
+++ b/sc/inc/addruno.hxx
@@ -42,7 +42,7 @@ private:
public:
ScAddressConversionObj(ScDocShell* pDocSh, bool bIsRange);
- virtual ~ScAddressConversionObj();
+ virtual ~ScAddressConversionObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/afmtuno.hxx b/sc/inc/afmtuno.hxx
index 6919e180bf91..cbc1cf202e70 100644
--- a/sc/inc/afmtuno.hxx
+++ b/sc/inc/afmtuno.hxx
@@ -54,7 +54,7 @@ private:
public:
ScAutoFormatsObj();
- virtual ~ScAutoFormatsObj();
+ virtual ~ScAutoFormatsObj() override;
// XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName,
@@ -129,7 +129,7 @@ private:
public:
ScAutoFormatObj(sal_uInt16 nIndex);
- virtual ~ScAutoFormatObj();
+ virtual ~ScAutoFormatObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -229,7 +229,7 @@ private:
public:
ScAutoFormatFieldObj(sal_uInt16 nFormat, sal_uInt16 nField);
- virtual ~ScAutoFormatFieldObj();
+ virtual ~ScAutoFormatFieldObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx
index d442bd56f8f7..797178a85f42 100644
--- a/sc/inc/appluno.hxx
+++ b/sc/inc/appluno.hxx
@@ -87,7 +87,7 @@ private:
{ setPropertyValue( aPropertyName, css::uno::Any(p1) ); }
public:
ScSpreadsheetSettings();
- virtual ~ScSpreadsheetSettings();
+ virtual ~ScSpreadsheetSettings() override;
static OUString getImplementationName_Static();
static css::uno::Sequence< OUString > getSupportedServiceNames_Static();
@@ -225,7 +225,7 @@ class ScRecentFunctionsObj : public cppu::WeakImplHelper<
{
public:
ScRecentFunctionsObj();
- virtual ~ScRecentFunctionsObj();
+ virtual ~ScRecentFunctionsObj() override;
// XRecentFunctions
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getRecentFunctionIds()
@@ -252,7 +252,7 @@ class ScFunctionListObj : public cppu::WeakImplHelper<
{
public:
ScFunctionListObj();
- virtual ~ScFunctionListObj();
+ virtual ~ScFunctionListObj() override;
// XFunctionDescriptions
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
diff --git a/sc/inc/arealink.hxx b/sc/inc/arealink.hxx
index 2f5790196090..998f21b83aad 100644
--- a/sc/inc/arealink.hxx
+++ b/sc/inc/arealink.hxx
@@ -48,7 +48,7 @@ public:
ScAreaLink( SfxObjectShell* pShell, const OUString& rFile,
const OUString& rFilter, const OUString& rOpt,
const OUString& rArea, const ScRange& rDest, sal_uLong nRefresh );
- virtual ~ScAreaLink();
+ virtual ~ScAreaLink() override;
virtual void Closed() override;
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 39c08fb2d0a6..b4dc160c679f 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -60,7 +60,7 @@ public:
ScMergeAttr();
ScMergeAttr( SCsCOL nCol, SCsROW nRow = 0);
ScMergeAttr( const ScMergeAttr& );
- virtual ~ScMergeAttr();
+ virtual ~ScMergeAttr() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
@@ -84,7 +84,7 @@ class SC_DLLPUBLIC ScMergeFlagAttr: public SfxInt16Item
public:
ScMergeFlagAttr();
ScMergeFlagAttr(ScMF nFlags);
- virtual ~ScMergeFlagAttr();
+ virtual ~ScMergeFlagAttr() override;
SfxPoolItem * Clone(SfxItemPool * pPool = nullptr) const override;
@@ -116,7 +116,7 @@ public:
bool bHCell = false,
bool bHPrint = false);
ScProtectionAttr( const ScProtectionAttr& );
- virtual ~ScProtectionAttr();
+ virtual ~ScProtectionAttr() override;
OUString GetValueText() const;
virtual bool GetPresentation(
@@ -199,7 +199,7 @@ public:
inline ScTableListItem( const sal_uInt16 nWhich );
ScTableListItem( const ScTableListItem& rCpy );
- virtual ~ScTableListItem();
+ virtual ~ScTableListItem() override;
ScTableListItem& operator=( const ScTableListItem &rCpy );
@@ -236,7 +236,7 @@ class SC_DLLPUBLIC ScPageHFItem : public SfxPoolItem
public:
ScPageHFItem( sal_uInt16 nWhich );
ScPageHFItem( const ScPageHFItem& rItem );
- virtual ~ScPageHFItem();
+ virtual ~ScPageHFItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
@@ -267,7 +267,7 @@ public:
ScViewObjectModeItem( sal_uInt16 nWhich );
ScViewObjectModeItem( sal_uInt16 nWhich, ScVObjMode eMode );
- virtual ~ScViewObjectModeItem();
+ virtual ~ScViewObjectModeItem() override;
virtual sal_uInt16 GetValueCount() const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
@@ -286,7 +286,7 @@ public:
static SfxPoolItem* CreateDefault();
ScDoubleItem( sal_uInt16 nWhich, double nVal=0 );
ScDoubleItem( const ScDoubleItem& rItem );
- virtual ~ScDoubleItem();
+ virtual ~ScDoubleItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
@@ -312,7 +312,7 @@ public:
explicit ScPageScaleToItem();
explicit ScPageScaleToItem( sal_uInt16 nWidth, sal_uInt16 nHeight );
- virtual ~ScPageScaleToItem();
+ virtual ~ScPageScaleToItem() override;
virtual ScPageScaleToItem* Clone( SfxItemPool* = nullptr ) const override;
@@ -348,7 +348,7 @@ public:
explicit ScCondFormatItem();
explicit ScCondFormatItem(const std::vector<sal_uInt32>& nIndex);
- virtual ~ScCondFormatItem();
+ virtual ~ScCondFormatItem() override;
virtual bool operator==(const SfxPoolItem& rCmp ) const override;
virtual ScCondFormatItem* Clone( SfxItemPool* = nullptr ) const override;
diff --git a/sc/inc/bulkdatahint.hxx b/sc/inc/bulkdatahint.hxx
index dd82ef6d3b9e..4bd02c644d7f 100644
--- a/sc/inc/bulkdatahint.hxx
+++ b/sc/inc/bulkdatahint.hxx
@@ -29,7 +29,7 @@ class BulkDataHint : public SfxSimpleHint
public:
BulkDataHint( ScDocument& rDoc );
- virtual ~BulkDataHint();
+ virtual ~BulkDataHint() override;
void setSpans( const ColumnSpanSet* pSpans );
const ColumnSpanSet* getSpans() const;
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index d7343580ebf0..6619bc134c64 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -112,7 +112,7 @@ class ScLinkListener : public SvtListener
Link<const SfxHint&,void> aLink;
public:
ScLinkListener(const Link<const SfxHint&,void>& rL) : aLink(rL) {}
- virtual ~ScLinkListener();
+ virtual ~ScLinkListener() override;
virtual void Notify( const SfxHint& rHint ) override;
};
@@ -229,7 +229,7 @@ protected:
public:
ScCellRangesBase(ScDocShell* pDocSh, const ScRange& rR);
ScCellRangesBase(ScDocShell* pDocSh, const ScRangeList& rR);
- virtual ~ScCellRangesBase();
+ virtual ~ScCellRangesBase() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
throw(css::uno::RuntimeException, std::exception) override;
@@ -492,7 +492,7 @@ private:
public:
ScCellRangesObj(ScDocShell* pDocSh, const ScRangeList& rR);
- virtual ~ScCellRangesObj();
+ virtual ~ScCellRangesObj() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
throw(css::uno::RuntimeException, std::exception) override;
@@ -635,7 +635,7 @@ protected:
public:
ScCellRangeObj(ScDocShell* pDocSh, const ScRange& rR);
- virtual ~ScCellRangeObj();
+ virtual ~ScCellRangeObj() override;
// uses ObjectShell from document, if set (returns NULL otherwise)
static css::uno::Reference<css::table::XCellRange>
@@ -841,7 +841,7 @@ public:
static const SfxItemPropertyMap& GetCellPropertyMap();
ScCellObj(ScDocShell* pDocSh, const ScAddress& rP);
- virtual ~ScCellObj();
+ virtual ~ScCellObj() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
throw(css::uno::RuntimeException, std::exception) override;
@@ -1007,7 +1007,7 @@ protected:
public:
ScTableSheetObj(ScDocShell* pDocSh, SCTAB nTab);
- virtual ~ScTableSheetObj();
+ virtual ~ScTableSheetObj() override;
void InitInsertSheet(ScDocShell* pDocSh, SCTAB nTab);
@@ -1249,7 +1249,7 @@ protected:
public:
ScTableColumnObj(ScDocShell* pDocSh, SCCOL nCol, SCTAB nTab);
- virtual ~ScTableColumnObj();
+ virtual ~ScTableColumnObj() override;
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & rType )
@@ -1301,7 +1301,7 @@ protected:
public:
ScTableRowObj(ScDocShell* pDocSh, SCROW nRow, SCTAB nTab);
- virtual ~ScTableRowObj();
+ virtual ~ScTableRowObj() override;
// XPropertySet override due to row properties
virtual css::uno::Reference< css::beans::XPropertySetInfo >
@@ -1328,7 +1328,7 @@ private:
public:
ScCellsObj(ScDocShell* pDocSh, const ScRangeList& rR);
- virtual ~ScCellsObj();
+ virtual ~ScCellsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -1368,7 +1368,7 @@ private:
public:
ScCellsEnumeration(ScDocShell* pDocSh, const ScRangeList& rR);
- virtual ~ScCellsEnumeration();
+ virtual ~ScCellsEnumeration() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -1403,7 +1403,7 @@ private:
public:
ScCellFormatsObj(ScDocShell* pDocSh, const ScRange& rR);
- virtual ~ScCellFormatsObj();
+ virtual ~ScCellFormatsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -1451,7 +1451,7 @@ private:
public:
ScCellFormatsEnumeration(ScDocShell* pDocSh, const ScRange& rR);
- virtual ~ScCellFormatsEnumeration();
+ virtual ~ScCellFormatsEnumeration() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -1489,7 +1489,7 @@ private:
public:
ScUniqueCellFormatsObj(ScDocShell* pDocSh, const ScRange& rR);
- virtual ~ScUniqueCellFormatsObj();
+ virtual ~ScUniqueCellFormatsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -1530,7 +1530,7 @@ private:
public:
ScUniqueCellFormatsEnumeration(ScDocShell* pDocShell, const ScMyRangeLists& rRangeLists);
- virtual ~ScUniqueCellFormatsEnumeration();
+ virtual ~ScUniqueCellFormatsEnumeration() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index 3d2a61fe33af..39c864cc1b42 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -66,7 +66,7 @@ class ScChart2DataProvider : public
public:
explicit ScChart2DataProvider( ScDocument* pDoc );
- virtual ~ScChart2DataProvider();
+ virtual ~ScChart2DataProvider() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
// XDataProvider
@@ -192,7 +192,7 @@ class ScChart2DataSource : public
public:
explicit ScChart2DataSource( ScDocument* pDoc);
- virtual ~ScChart2DataSource();
+ virtual ~ScChart2DataSource() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
// XDataSource
@@ -241,7 +241,7 @@ public:
const css::uno::Reference< css::chart2::data::XDataProvider >& xDP,
::std::vector<ScTokenRef>&& rTokens, bool bIncludeHiddenCells );
- virtual ~ScChart2DataSequence();
+ virtual ~ScChart2DataSequence() override;
ScChart2DataSequence(const ScChart2DataSequence&) = delete;
ScChart2DataSequence& operator=(const ScChart2DataSequence&) = delete;
@@ -369,7 +369,7 @@ private:
{
public:
ExternalRefListener(ScChart2DataSequence& rParent, ScDocument* pDoc);
- virtual ~ExternalRefListener();
+ virtual ~ExternalRefListener() override;
ExternalRefListener(const ExternalRefListener&) = delete;
ExternalRefListener& operator=(const ExternalRefListener&) = delete;
@@ -418,7 +418,7 @@ private:
{
public:
HiddenRangeListener(ScChart2DataSequence& rParent);
- virtual ~HiddenRangeListener();
+ virtual ~HiddenRangeListener() override;
virtual void notify() override;
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx
index 4b48f5b519ff..9c11640a857c 100644
--- a/sc/inc/chartlis.hxx
+++ b/sc/inc/chartlis.hxx
@@ -45,7 +45,7 @@ public:
{
public:
ExternalRefListener(ScChartListener& rParent, ScDocument* pDoc);
- virtual ~ExternalRefListener();
+ virtual ~ExternalRefListener() override;
virtual void notify(sal_uInt16 nFileId, ScExternalRefManager::LinkUpdateType eType) override;
void addFileId(sal_uInt16 nFileId);
void removeFileId(sal_uInt16 nFileId);
@@ -79,7 +79,7 @@ public:
ScChartListener( const OUString& rName, ScDocument* pDoc,
::std::vector<ScTokenRef>* pTokens );
ScChartListener( const ScChartListener& );
- virtual ~ScChartListener();
+ virtual ~ScChartListener() override;
const OUString& GetName() const { return maName;}
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx
index c11c70efcb92..76a14adfc6c4 100644
--- a/sc/inc/chartuno.hxx
+++ b/sc/inc/chartuno.hxx
@@ -55,7 +55,7 @@ private:
public:
ScChartsObj(ScDocShell* pDocSh, SCTAB nT);
- virtual ~ScChartsObj();
+ virtual ~ScChartsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -141,7 +141,7 @@ protected:
public:
ScChartObj(ScDocShell* pDocSh, SCTAB nT, const OUString& rN);
- virtual ~ScChartObj();
+ virtual ~ScChartObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 28e3e73f1f93..2102dcefc906 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -403,7 +403,7 @@ class ScChangeActionIns : public ScChangeAction
bool mbEndOfList; /// whether or not a row was auto-inserted at the bottom.
ScChangeActionIns( const ScRange& rRange, bool bEndOfList = false );
- virtual ~ScChangeActionIns();
+ virtual ~ScChangeActionIns() override;
virtual void AddContent( ScChangeActionContent* ) override {}
virtual void DeleteCellEntries() override {}
@@ -473,7 +473,7 @@ class ScChangeActionDel : public ScChangeAction
SCsROW nDy;
ScChangeActionDel( const ScRange& rRange, SCsCOL nDx, SCsROW nDy, ScChangeTrack* );
- virtual ~ScChangeActionDel();
+ virtual ~ScChangeActionDel() override;
virtual void AddContent( ScChangeActionContent* ) override;
virtual void DeleteCellEntries() override;
@@ -553,7 +553,7 @@ class ScChangeActionMove : public ScChangeAction
nStartLastCut(0),
nEndLastCut(0)
{}
- virtual ~ScChangeActionMove();
+ virtual ~ScChangeActionMove() override;
virtual void AddContent( ScChangeActionContent* ) override;
virtual void DeleteCellEntries() override;
@@ -734,7 +734,7 @@ public:
const ScBigRange& aBigRange, ScDocument* pDoc,
const OUString& sNewValue ); // to use for XML Import of Generated Actions
- virtual ~ScChangeActionContent();
+ virtual ~ScChangeActionContent() override;
ScChangeActionContent* GetNextContent() const { return pNextContent; }
ScChangeActionContent* GetPrevContent() const { return pPrevContent; }
@@ -994,7 +994,7 @@ public:
SC_DLLPUBLIC ScChangeTrack( ScDocument* );
ScChangeTrack(ScDocument* pDocP, const std::set<OUString>& aTempUserCollection); // only to use in the XML import
- SC_DLLPUBLIC virtual ~ScChangeTrack();
+ SC_DLLPUBLIC virtual ~ScChangeTrack() override;
void Clear();
ScChangeActionContent* GetFirstGenerated() const { return pFirstGeneratedDelContent; }
diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx
index 31a1c600c77a..9951c053ff7e 100644
--- a/sc/inc/clipcontext.hxx
+++ b/sc/inc/clipcontext.hxx
@@ -82,7 +82,7 @@ public:
ScDocument* pRefUndoDoc, ScDocument* pClipDoc, InsertDeleteFlags nInsertFlag,
bool bAsLink, bool bSkipAttrForEmptyCells);
- virtual ~CopyFromClipContext();
+ virtual ~CopyFromClipContext() override;
void setTabRange(SCTAB nStart, SCTAB nEnd);
@@ -138,7 +138,7 @@ class CopyToClipContext : public ClipContextBase
public:
CopyToClipContext() = delete;
CopyToClipContext(ScDocument& rDoc, bool bKeepScenarioFlags, bool bCloneNotes);
- virtual ~CopyToClipContext();
+ virtual ~CopyToClipContext() override;
bool isKeepScenarioFlags() const;
bool isCloneNotes() const;
@@ -150,7 +150,7 @@ class CopyToDocContext : public ClipContextBase
public:
CopyToDocContext(ScDocument& rDoc);
- virtual ~CopyToDocContext();
+ virtual ~CopyToDocContext() override;
void setStartListening( bool b );
bool isStartListening() const;
@@ -160,7 +160,7 @@ class MixDocContext : public ClipContextBase
{
public:
MixDocContext(ScDocument& rDoc);
- virtual ~MixDocContext();
+ virtual ~MixDocContext() override;
};
}
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 5c20633aad3f..d9a9bd12133e 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -211,7 +211,7 @@ class SC_DLLPUBLIC ScColorFormat : public ScFormatEntry
{
public:
ScColorFormat(ScDocument* pDoc);
- virtual ~ScColorFormat();
+ virtual ~ScColorFormat() override;
const ScRangeList& GetRange() const;
@@ -252,7 +252,7 @@ private:
public:
ScColorScaleFormat(ScDocument* pDoc);
ScColorScaleFormat(ScDocument* pDoc, const ScColorScaleFormat& rFormat);
- virtual ~ScColorScaleFormat();
+ virtual ~ScColorScaleFormat() override;
virtual ScColorFormat* Clone(ScDocument* pDoc) const override;
Color* GetColor(const ScAddress& rAddr) const;
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 9b7cb58f5545..26be57dee30f 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -344,7 +344,7 @@ public:
ScCompiler( ScDocument* pDocument, const ScAddress&,ScTokenArray& rArr);
- virtual ~ScCompiler();
+ virtual ~ScCompiler() override;
public:
static void DeInit(); /// all
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index 08718960af01..71b803b7af0a 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -98,7 +98,7 @@ private:
public:
explicit ScFormulaListener(ScFormulaCell* pCell);
explicit ScFormulaListener(ScDocument* pDoc);
- virtual ~ScFormulaListener();
+ virtual ~ScFormulaListener() override;
void Notify( const SfxHint& rHint ) override;
@@ -229,7 +229,7 @@ public:
ScConditionEntry( const ScConditionEntry& r ); // flat copy of formulas
// true copy of formulas (for Ref-Undo):
ScConditionEntry( ScDocument* pDocument, const ScConditionEntry& r );
- virtual ~ScConditionEntry();
+ virtual ~ScConditionEntry() override;
bool operator== ( const ScConditionEntry& r ) const;
@@ -335,7 +335,7 @@ public:
const OUString& rStyle );
ScCondFormatEntry( const ScCondFormatEntry& r );
ScCondFormatEntry( ScDocument* pDocument, const ScCondFormatEntry& r );
- virtual ~ScCondFormatEntry();
+ virtual ~ScCondFormatEntry() override;
bool operator== ( const ScCondFormatEntry& r ) const;
diff --git a/sc/inc/confuno.hxx b/sc/inc/confuno.hxx
index 8cf6175bd9ee..caa8bff8bc1a 100644
--- a/sc/inc/confuno.hxx
+++ b/sc/inc/confuno.hxx
@@ -39,7 +39,7 @@ private:
public:
ScDocumentConfiguration(ScDocShell* pDocShell);
- virtual ~ScDocumentConfiguration();
+ virtual ~ScDocumentConfiguration() override;
// SfxListener
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/cursuno.hxx b/sc/inc/cursuno.hxx
index b75717521bd5..ceff23afb5b4 100644
--- a/sc/inc/cursuno.hxx
+++ b/sc/inc/cursuno.hxx
@@ -32,7 +32,7 @@ class ScCellCursorObj : public ScCellRangeObj,
{
public:
ScCellCursorObj(ScDocShell* pDocSh, const ScRange& rR);
- virtual ~ScCellCursorObj();
+ virtual ~ScCellCursorObj() override;
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & rType )
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index 162d86d173e3..2dcee628e527 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -95,7 +95,7 @@ private:
public:
ScDataPilotTablesObj(ScDocShell* pDocSh, SCTAB nT);
- virtual ~ScDataPilotTablesObj();
+ virtual ~ScDataPilotTablesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -161,7 +161,7 @@ private:
public:
ScDataPilotDescriptorBase(ScDocShell* pDocSh);
- virtual ~ScDataPilotDescriptorBase();
+ virtual ~ScDataPilotDescriptorBase() override;
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & rType )
@@ -267,7 +267,7 @@ private:
public:
ScDataPilotDescriptor(ScDocShell* pDocSh);
- virtual ~ScDataPilotDescriptor();
+ virtual ~ScDataPilotDescriptor() override;
virtual ScDPObject* GetDPObject() const override;
virtual void SetDPObject(ScDPObject* pDPObj) override;
@@ -302,7 +302,7 @@ private:
public:
ScDataPilotTableObj(ScDocShell* pDocSh, SCTAB nT, const OUString& rN);
- virtual ~ScDataPilotTableObj();
+ virtual ~ScDataPilotTableObj() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
throw(css::uno::RuntimeException, std::exception) override;
@@ -429,7 +429,7 @@ public:
ScDataPilotDescriptorBase& rParent,
css::sheet::DataPilotFieldOrientation eOrient );
- virtual ~ScDataPilotFieldsObj();
+ virtual ~ScDataPilotFieldsObj() override;
// XNameAccess
virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
@@ -496,7 +496,7 @@ public:
const ScFieldIdentifier& rIdent,
const css::uno::Any& rOrient );
- virtual ~ScDataPilotFieldObj();
+ virtual ~ScDataPilotFieldObj() override;
// XNamed
virtual OUString SAL_CALL getName()
@@ -632,7 +632,7 @@ class ScDataPilotFieldGroupsObj : public ScDataPilotFieldGroupsObjImpl
{
public:
explicit ScDataPilotFieldGroupsObj( const ScFieldGroups& rGroups );
- virtual ~ScDataPilotFieldGroupsObj();
+ virtual ~ScDataPilotFieldGroupsObj() override;
// XNameAccess
virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
@@ -713,7 +713,7 @@ class ScDataPilotFieldGroupObj : public ScDataPilotFieldGroupObjImpl
{
public:
explicit ScDataPilotFieldGroupObj( ScDataPilotFieldGroupsObj& rParent, const OUString& rGroupName );
- virtual ~ScDataPilotFieldGroupObj();
+ virtual ~ScDataPilotFieldGroupObj() override;
// XNameAccess
virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
@@ -790,7 +790,7 @@ class ScDataPilotFieldGroupItemObj : public ScDataPilotFieldGroupItemObjImpl
{
public:
explicit ScDataPilotFieldGroupItemObj( ScDataPilotFieldGroupObj& rParent, const OUString& rName );
- virtual ~ScDataPilotFieldGroupItemObj();
+ virtual ~ScDataPilotFieldGroupItemObj() override;
// XNamed
virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) override;
@@ -823,7 +823,7 @@ class ScDataPilotItemsObj : public ScDataPilotChildObjBase, public ScDataPilotIt
{
public:
explicit ScDataPilotItemsObj( ScDataPilotDescriptorBase& rParent, const ScFieldIdentifier& rFieldId );
- virtual ~ScDataPilotItemsObj();
+ virtual ~ScDataPilotItemsObj() override;
// XNameAccess
virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
@@ -879,7 +879,7 @@ public:
const ScFieldIdentifier& rFieldId,
sal_Int32 nIndex );
- virtual ~ScDataPilotItemObj();
+ virtual ~ScDataPilotItemObj() override;
// XNamed
virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) override;
diff --git a/sc/inc/datauno.hxx b/sc/inc/datauno.hxx
index 69a0bc6ea934..233e25645e0f 100644
--- a/sc/inc/datauno.hxx
+++ b/sc/inc/datauno.hxx
@@ -117,7 +117,7 @@ private:
public:
ScSubTotalDescriptorBase();
- virtual ~ScSubTotalDescriptorBase();
+ virtual ~ScSubTotalDescriptorBase() override;
// in derived classes:
// (Fields are within the range)
@@ -208,7 +208,7 @@ private:
public:
ScSubTotalDescriptor();
- virtual ~ScSubTotalDescriptor();
+ virtual ~ScSubTotalDescriptor() override;
// from ScSubTotalDescriptorBase:
virtual void GetData( ScSubTotalParam& rParam ) const override;
@@ -227,7 +227,7 @@ private:
public:
ScRangeSubTotalDescriptor(ScDatabaseRangeObj* pPar);
- virtual ~ScRangeSubTotalDescriptor();
+ virtual ~ScRangeSubTotalDescriptor() override;
// from ScSubTotalDescriptorBase:
virtual void GetData( ScSubTotalParam& rParam ) const override;
@@ -244,7 +244,7 @@ private:
public:
ScSubTotalFieldObj( ScSubTotalDescriptorBase* pDesc, sal_uInt16 nP );
- virtual ~ScSubTotalFieldObj();
+ virtual ~ScSubTotalFieldObj() override;
// XSubTotalField
virtual sal_Int32 SAL_CALL getGroupColumn() throw(css::uno::RuntimeException, std::exception) override;
@@ -274,7 +274,7 @@ private:
public:
ScConsolidationDescriptor();
- virtual ~ScConsolidationDescriptor();
+ virtual ~ScConsolidationDescriptor() override;
void SetParam( const ScConsolidateParam& rNew );
const ScConsolidateParam& GetParam() const { return aParam; }
@@ -331,7 +331,7 @@ private:
public:
ScFilterDescriptorBase(ScDocShell* pDocShell);
- virtual ~ScFilterDescriptorBase();
+ virtual ~ScFilterDescriptorBase() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -420,7 +420,7 @@ private:
public:
ScFilterDescriptor(ScDocShell* pDocSh);
- virtual ~ScFilterDescriptor();
+ virtual ~ScFilterDescriptor() override;
// from ScFilterDescriptorBase:
virtual void GetData( ScQueryParam& rParam ) const override;
@@ -440,7 +440,7 @@ private:
public:
ScRangeFilterDescriptor(ScDocShell* pDocSh, ScDatabaseRangeObj* pPar);
- virtual ~ScRangeFilterDescriptor();
+ virtual ~ScRangeFilterDescriptor() override;
// from ScFilterDescriptorBase:
virtual void GetData( ScQueryParam& rParam ) const override;
@@ -456,7 +456,7 @@ private:
public:
ScDataPilotFilterDescriptor(ScDocShell* pDocSh, ScDataPilotDescriptorBase* pPar);
- virtual ~ScDataPilotFilterDescriptor();
+ virtual ~ScDataPilotFilterDescriptor() override;
// from ScFilterDescriptorBase:
virtual void GetData( ScQueryParam& rParam ) const override;
@@ -488,7 +488,7 @@ private:
public:
ScDatabaseRangeObj(ScDocShell* pDocSh, const OUString& rNm);
SC_DLLPUBLIC ScDatabaseRangeObj(ScDocShell* pDocSh, const SCTAB nTab);
- virtual ~ScDatabaseRangeObj();
+ virtual ~ScDatabaseRangeObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -595,7 +595,7 @@ private:
public:
ScDatabaseRangesObj(ScDocShell* pDocSh);
- virtual ~ScDatabaseRangesObj();
+ virtual ~ScDatabaseRangesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -650,7 +650,7 @@ private:
public:
ScUnnamedDatabaseRangesObj(ScDocShell* pDocSh);
- virtual ~ScUnnamedDatabaseRangesObj();
+ virtual ~ScUnnamedDatabaseRangesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index 23146636de65..328dd2a597e4 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -113,7 +113,7 @@ public:
bool bByR = true, bool bHasH = true, bool bTotals = false);
ScDBData(const ScDBData& rData);
ScDBData(const OUString& rName, const ScDBData& rData);
- virtual ~ScDBData();
+ virtual ~ScDBData() override;
virtual void Notify( const SfxHint& rHint ) override;
@@ -242,7 +242,7 @@ public:
ScDBCollection& mrParent;
NamedDBs(ScDBCollection& rParent, ScDocument& rDoc);
NamedDBs(const NamedDBs& r);
- virtual ~NamedDBs();
+ virtual ~NamedDBs() override;
NamedDBs & operator=(NamedDBs const&) = delete;
void initInserted( ScDBData* p );
diff --git a/sc/inc/defaultsoptions.hxx b/sc/inc/defaultsoptions.hxx
index 5699fcc69336..b0d58ef277a3 100644
--- a/sc/inc/defaultsoptions.hxx
+++ b/sc/inc/defaultsoptions.hxx
@@ -47,7 +47,7 @@ public:
ScTpDefaultsItem( sal_uInt16 nWhich,
const ScDefaultsOptions& rOpt );
ScTpDefaultsItem( const ScTpDefaultsItem& rItem );
- virtual ~ScTpDefaultsItem();
+ virtual ~ScTpDefaultsItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/defltuno.hxx b/sc/inc/defltuno.hxx
index 07bfbfaadb34..62b80274fb4b 100644
--- a/sc/inc/defltuno.hxx
+++ b/sc/inc/defltuno.hxx
@@ -43,7 +43,7 @@ private:
public:
ScDocDefaultsObj(ScDocShell* pDocSh);
- virtual ~ScDocDefaultsObj();
+ virtual ~ScDocDefaultsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/dispuno.hxx b/sc/inc/dispuno.hxx
index f5a3c0d98784..b54ad2fd5ae6 100644
--- a/sc/inc/dispuno.hxx
+++ b/sc/inc/dispuno.hxx
@@ -52,7 +52,7 @@ class ScDispatchProviderInterceptor : public cppu::WeakImplHelper<
public:
ScDispatchProviderInterceptor(ScTabViewShell* pViewSh);
- virtual ~ScDispatchProviderInterceptor();
+ virtual ~ScDispatchProviderInterceptor() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -97,7 +97,7 @@ class ScDispatch : public cppu::WeakImplHelper<
public:
ScDispatch(ScTabViewShell* pViewSh);
- virtual ~ScDispatch();
+ virtual ~ScDispatch() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 16cdaf37285b..162096429405 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -127,7 +127,7 @@ private:
typedef std::pair<sc::CellStoreType::const_iterator,size_t> PositionType;
public:
DataAccessInternal(ScDBQueryParamInternal* pParam, ScDocument* pDoc);
- virtual ~DataAccessInternal();
+ virtual ~DataAccessInternal() override;
virtual bool getCurrent(Value& rValue) override;
virtual bool getFirst(Value& rValue) override;
virtual bool getNext(Value& rValue) override;
@@ -155,7 +155,7 @@ private:
{
public:
DataAccessMatrix(ScDBQueryParamMatrix* pParam);
- virtual ~DataAccessMatrix();
+ virtual ~DataAccessMatrix() override;
virtual bool getCurrent(Value& rValue) override;
virtual bool getFirst(Value& rValue) override;
virtual bool getNext(Value& rValue) override;
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx
index 8e4ebb58b749..94ecf482d1c0 100644
--- a/sc/inc/docoptio.hxx
+++ b/sc/inc/docoptio.hxx
@@ -149,7 +149,7 @@ public:
ScTpCalcItem( sal_uInt16 nWhich,
const ScDocOptions& rOpt );
ScTpCalcItem( const ScTpCalcItem& rItem );
- virtual ~ScTpCalcItem();
+ virtual ~ScTpCalcItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/docpool.hxx b/sc/inc/docpool.hxx
index deaaa6bd4ba3..d3381ab8fdf7 100644
--- a/sc/inc/docpool.hxx
+++ b/sc/inc/docpool.hxx
@@ -46,7 +46,7 @@ class SC_DLLPUBLIC ScDocumentPool: public SfxItemPool
public:
ScDocumentPool();
protected:
- virtual ~ScDocumentPool();
+ virtual ~ScDocumentPool() override;
public:
virtual SfxItemPool* Clone() const override;
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index b2b029388e10..25dc77e7a785 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -119,7 +119,7 @@ protected:
public:
ScModelObj(ScDocShell* pDocSh);
- virtual ~ScModelObj();
+ virtual ~ScModelObj() override;
/// create ScModelObj and set at pDocSh (SetBaseModel)
static void CreateAndSet(ScDocShell* pDocSh);
@@ -436,7 +436,7 @@ css::uno::Reference< css::drawing::XDrawPage >
public:
ScDrawPagesObj(ScDocShell* pDocSh);
- virtual ~ScDrawPagesObj();
+ virtual ~ScDrawPagesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -484,7 +484,7 @@ private:
public:
ScTableSheetsObj(ScDocShell* pDocSh);
- virtual ~ScTableSheetsObj();
+ virtual ~ScTableSheetsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -597,7 +597,7 @@ private:
public:
ScTableColumnsObj(ScDocShell* pDocSh, SCTAB nT,
SCCOL nSC, SCCOL nEC);
- virtual ~ScTableColumnsObj();
+ virtual ~ScTableColumnsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -698,7 +698,7 @@ private:
public:
ScTableRowsObj(ScDocShell* pDocSh, SCTAB nT,
SCROW nSR, SCROW nER);
- virtual ~ScTableRowsObj();
+ virtual ~ScTableRowsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -779,7 +779,7 @@ private:
ScDocShell* pDocShell;
public:
- virtual ~ScSpreadsheetSettingsObj();
+ virtual ~ScSpreadsheetSettingsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -843,7 +843,7 @@ private:
public:
ScAnnotationsObj(ScDocShell* pDocSh, SCTAB nT);
- virtual ~ScAnnotationsObj();
+ virtual ~ScAnnotationsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -898,7 +898,7 @@ private:
public:
ScScenariosObj(ScDocShell* pDocSh, SCTAB nT);
- virtual ~ScScenariosObj();
+ virtual ~ScScenariosObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/dpfilteredcache.hxx b/sc/inc/dpfilteredcache.hxx
index 4497626af465..427144ccefe2 100644
--- a/sc/inc/dpfilteredcache.hxx
+++ b/sc/inc/dpfilteredcache.hxx
@@ -65,7 +65,7 @@ public:
{
public:
explicit SingleFilter(const ScDPItemData &rItem);
- virtual ~SingleFilter() {}
+ virtual ~SingleFilter() override {}
virtual bool match(const ScDPItemData& rCellData) const override;
virtual std::vector<ScDPItemData> getMatchValues() const override;
@@ -79,7 +79,7 @@ public:
{
public:
GroupFilter();
- virtual ~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/dpgroup.hxx b/sc/inc/dpgroup.hxx
index 07b25a7db786..703dc5d21960 100644
--- a/sc/inc/dpgroup.hxx
+++ b/sc/inc/dpgroup.hxx
@@ -139,7 +139,7 @@ class ScDPGroupTableData : public ScDPTableData
public:
// takes ownership of pSource
ScDPGroupTableData( const std::shared_ptr<ScDPTableData>& pSource, ScDocument* pDocument );
- virtual ~ScDPGroupTableData();
+ virtual ~ScDPGroupTableData() override;
const std::shared_ptr<ScDPTableData>& GetSourceTableData() const { return pSourceData;}
diff --git a/sc/inc/dpsdbtab.hxx b/sc/inc/dpsdbtab.hxx
index 7c7ae653f57a..a01053feaf71 100644
--- a/sc/inc/dpsdbtab.hxx
+++ b/sc/inc/dpsdbtab.hxx
@@ -60,7 +60,7 @@ private:
ScDPFilteredCache aCacheTable;
public:
ScDatabaseDPData(ScDocument* pDoc, const ScDPCache& rCache);
- virtual ~ScDatabaseDPData();
+ virtual ~ScDatabaseDPData() override;
virtual long GetColumnCount() override;
virtual OUString getDimensionName(long nColumn) override;
diff --git a/sc/inc/dpshttab.hxx b/sc/inc/dpshttab.hxx
index 7ee71a3ab55f..b1972500e4fc 100644
--- a/sc/inc/dpshttab.hxx
+++ b/sc/inc/dpshttab.hxx
@@ -99,7 +99,7 @@ private:
public:
ScSheetDPData(ScDocument* pD, const ScSheetSourceDesc& rDesc, const ScDPCache& rCache);
- virtual ~ScSheetDPData();
+ virtual ~ScSheetDPData() override;
virtual long GetColumnCount() override;
virtual OUString getDimensionName(long nColumn) override;
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index cbbd28fb9c37..c532583740e1 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -145,7 +145,7 @@ private:
public:
ScDPSource( ScDPTableData* pD );
- virtual ~ScDPSource();
+ virtual ~ScDPSource() override;
ScDPTableData* GetData() { return pData; }
const ScDPTableData* GetData() const { return pData; }
@@ -267,7 +267,7 @@ private:
public:
ScDPDimensions( ScDPSource* pSrc );
- virtual ~ScDPDimensions();
+ virtual ~ScDPDimensions() override;
void CountChanged();
@@ -323,7 +323,7 @@ class ScDPDimension : public cppu::WeakImplHelper<
public:
ScDPDimension( ScDPSource* pSrc, long nD );
- virtual ~ScDPDimension();
+ virtual ~ScDPDimension() override;
ScDPDimension(const ScDPDimension&) = delete;
ScDPDimension& operator=(const ScDPDimension&) = delete;
@@ -421,7 +421,7 @@ private:
public:
ScDPHierarchies( ScDPSource* pSrc, long nD );
- virtual ~ScDPHierarchies();
+ virtual ~ScDPHierarchies() override;
// XNameAccess
virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
@@ -463,7 +463,7 @@ private:
public:
ScDPHierarchy( ScDPSource* pSrc, long nD, long nH );
- virtual ~ScDPHierarchy();
+ virtual ~ScDPHierarchy() override;
ScDPLevels* GetLevelsObject();
@@ -498,7 +498,7 @@ private:
public:
ScDPLevels( ScDPSource* pSrc, long nD, long nH );
- virtual ~ScDPLevels();
+ virtual ~ScDPLevels() override;
// XNameAccess
virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
@@ -554,7 +554,7 @@ private:
public:
ScDPLevel( ScDPSource* pSrc, long nD, long nH, long nL );
- virtual ~ScDPLevel();
+ virtual ~ScDPLevel() override;
ScDPMembers* GetMembersObject();
@@ -672,7 +672,7 @@ private:
public:
ScDPMembers( ScDPSource* pSrc, long nD, long nH, long nL );
- virtual ~ScDPMembers();
+ virtual ~ScDPMembers() override;
// XMembersAccess
virtual css::uno::Sequence< OUString > SAL_CALL getLocaleIndependentElementNames()
@@ -735,7 +735,7 @@ private:
public:
ScDPMember(ScDPSource* pSrc, long nD, long nH, long nL, SCROW nIndex);
- virtual ~ScDPMember();
+ virtual ~ScDPMember() override;
ScDPMember(const ScDPMember&) = delete;
ScDPMember& operator=(const ScDPMember&) = delete;
diff --git a/sc/inc/drawpage.hxx b/sc/inc/drawpage.hxx
index cdd8ec79743e..6044600c2096 100644
--- a/sc/inc/drawpage.hxx
+++ b/sc/inc/drawpage.hxx
@@ -30,7 +30,7 @@ class ScDrawPage: public FmFormPage
public:
explicit ScDrawPage(ScDrawLayer& rNewModel, bool bMasterPage = false);
- virtual ~ScDrawPage();
+ virtual ~ScDrawPage() override;
virtual ScDrawPage* Clone() const override;
virtual ScDrawPage* Clone(SdrModel* pNewModel) const override;
diff --git a/sc/inc/drdefuno.hxx b/sc/inc/drdefuno.hxx
index 91a4baccda2a..1207aecf3614 100644
--- a/sc/inc/drdefuno.hxx
+++ b/sc/inc/drdefuno.hxx
@@ -32,7 +32,7 @@ private:
public:
ScDrawDefaultsObj(ScDocShell* pDocSh);
- virtual ~ScDrawDefaultsObj() throw ();
+ virtual ~ScDrawDefaultsObj() throw () override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 649610bdbce3..09d59195d5bc 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -41,7 +41,7 @@ private:
SCTAB nTab;
public:
ScTabDeletedHint( SCTAB nTabNo = SCTAB_MAX );
- virtual ~ScTabDeletedHint();
+ virtual ~ScTabDeletedHint() override;
SCTAB GetTab() const { return nTab; }
};
@@ -52,7 +52,7 @@ private:
SCTAB nTab;
public:
ScTabSizeChangedHint( SCTAB nTabNo = SCTAB_MAX );
- virtual ~ScTabSizeChangedHint();
+ virtual ~ScTabSizeChangedHint() override;
SCTAB GetTab() const { return nTab; }
};
@@ -70,7 +70,7 @@ private:
public:
ScUndoObjData( SdrObject* pObj, const ScAddress& rOS, const ScAddress& rOE,
const ScAddress& rNS, const ScAddress& rNE );
- virtual ~ScUndoObjData();
+ virtual ~ScUndoObjData() override;
virtual void Undo() override;
virtual void Redo() override;
@@ -84,7 +84,7 @@ private:
SCTAB mnTab;
public:
ScUndoAnchorData( SdrObject* pObj, ScDocument* pDoc, SCTAB nTab );
- virtual ~ScUndoAnchorData();
+ virtual ~ScUndoAnchorData() override;
virtual void Undo() override;
virtual void Redo() override;
@@ -109,7 +109,7 @@ private:
public:
ScDrawLayer( ScDocument* pDocument, const OUString& rName );
- virtual ~ScDrawLayer();
+ virtual ~ScDrawLayer() override;
virtual SdrPage* AllocPage(bool bMasterPage) override;
virtual SdrModel* AllocModel() const override;
diff --git a/sc/inc/editsrc.hxx b/sc/inc/editsrc.hxx
index f992490aef0e..8ef58b768f0d 100644
--- a/sc/inc/editsrc.hxx
+++ b/sc/inc/editsrc.hxx
@@ -54,7 +54,7 @@ private:
public:
ScHeaderFooterEditSource(ScHeaderFooterTextData& rData);
- virtual ~ScHeaderFooterEditSource();
+ virtual ~ScHeaderFooterEditSource() override;
// GetEditEngine is needed because the forwarder doesn't have field functions
virtual ScEditEngineDefaulter* GetEditEngine() override;
@@ -78,7 +78,7 @@ private:
public:
ScCellEditSource(ScDocShell* pDocSh, const ScAddress& rP);
- virtual ~ScCellEditSource();
+ virtual ~ScCellEditSource() override;
// GetEditEngine is needed because the forwarder doesn't have field functions
virtual ScEditEngineDefaulter* GetEditEngine() override;
@@ -104,7 +104,7 @@ private:
SdrObject* GetCaptionObj();
public:
ScAnnotationEditSource(ScDocShell* pDocSh, const ScAddress& rP);
- virtual ~ScAnnotationEditSource();
+ virtual ~ScAnnotationEditSource() override;
virtual SvxEditSource* Clone() const override ;
virtual SvxTextForwarder* GetTextForwarder() override;
@@ -122,7 +122,7 @@ private:
public:
ScSimpleEditSource( SvxTextForwarder* pForw );
- virtual ~ScSimpleEditSource();
+ virtual ~ScSimpleEditSource() override;
virtual SvxEditSource* Clone() const override ;
virtual SvxTextForwarder* GetTextForwarder() override;
@@ -137,7 +137,7 @@ private:
public:
ScAccessibilityEditSource( ::std::unique_ptr < ScAccessibleTextData > && pAccessibleCellTextData );
- virtual ~ScAccessibilityEditSource();
+ virtual ~ScAccessibilityEditSource() override;
virtual SvxEditSource* Clone() const override;
virtual SvxTextForwarder* GetTextForwarder() override;
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx
index 5eee49f4d672..0352f79fe792 100644
--- a/sc/inc/editutil.hxx
+++ b/sc/inc/editutil.hxx
@@ -129,7 +129,7 @@ public:
/// If rOrg.bDeleteEnginePool: pool gets cloned and will be
/// deleted on destruction. Defaults are not set.
ScEditEngineDefaulter( const ScEditEngineDefaulter& rOrg );
- virtual ~ScEditEngineDefaulter();
+ virtual ~ScEditEngineDefaulter() override;
/// Creates a copy of SfxItemSet if bRememberCopy set
void SetDefaults( const SfxItemSet& rDefaults, bool bRememberCopy = true );
diff --git a/sc/inc/eventuno.hxx b/sc/inc/eventuno.hxx
index 7dc815ac7051..8099aa55e3f5 100644
--- a/sc/inc/eventuno.hxx
+++ b/sc/inc/eventuno.hxx
@@ -40,7 +40,7 @@ private:
public:
ScSheetEventsObj(ScDocShell* pDocSh, SCTAB nT);
- virtual ~ScSheetEventsObj();
+ virtual ~ScSheetEventsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index cb1a0d8a8ff6..e6a4cd6fe5df 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -65,7 +65,7 @@ class ScExternalRefLink : public ::sfx2::SvBaseLink
{
public:
ScExternalRefLink(ScDocument* pDoc, sal_uInt16 nFileId, const OUString& rFilter);
- virtual ~ScExternalRefLink();
+ virtual ~ScExternalRefLink() override;
virtual void Closed() override;
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
@@ -448,7 +448,7 @@ public:
public:
explicit ScExternalRefManager(ScDocument* pDoc);
- virtual ~ScExternalRefManager();
+ virtual ~ScExternalRefManager() override;
virtual OUString getCacheTableName(sal_uInt16 nFileId, size_t nTabIndex) const override;
diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx
index 08c768dcdeaa..170c37438590 100644
--- a/sc/inc/fielduno.hxx
+++ b/sc/inc/fielduno.hxx
@@ -74,7 +74,7 @@ public:
ScCellFieldsObj(
const css::uno::Reference<css::text::XTextRange>& xContent,
ScDocShell* pDocSh, const ScAddress& rPos);
- virtual ~ScCellFieldsObj();
+ virtual ~ScCellFieldsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -138,7 +138,7 @@ private:
public:
ScHeaderFieldsObj(ScHeaderFooterTextData& rData);
- virtual ~ScHeaderFieldsObj();
+ virtual ~ScHeaderFieldsObj() override;
// XIndexAccess
virtual sal_Int32 SAL_CALL getCount() throw(css::uno::RuntimeException, std::exception) override;
@@ -229,7 +229,7 @@ public:
ScEditFieldObj(
const css::uno::Reference<css::text::XTextRange>& rContent,
ScEditSource* pEditSrc, sal_Int32 eType, const ESelection& rSel);
- virtual ~ScEditFieldObj();
+ virtual ~ScEditFieldObj() override;
sal_Int32 GetFieldType() const { return meType;}
void DeleteField();
diff --git a/sc/inc/filtuno.hxx b/sc/inc/filtuno.hxx
index bd983002fb37..12d22860e294 100644
--- a/sc/inc/filtuno.hxx
+++ b/sc/inc/filtuno.hxx
@@ -49,7 +49,7 @@ private:
public:
ScFilterOptionsObj();
- virtual ~ScFilterOptionsObj();
+ virtual ~ScFilterOptionsObj() override;
// XPropertyAccess
virtual css::uno::Sequence< css::beans::PropertyValue >
diff --git a/sc/inc/fmtuno.hxx b/sc/inc/fmtuno.hxx
index 774d94ad19bb..547989d82d31 100644
--- a/sc/inc/fmtuno.hxx
+++ b/sc/inc/fmtuno.hxx
@@ -82,7 +82,7 @@ public:
ScTableConditionalFormat() = delete;
ScTableConditionalFormat(ScDocument* pDoc, sal_uLong nKey,
SCTAB nTab, formula::FormulaGrammar::Grammar eGrammar);
- virtual ~ScTableConditionalFormat();
+ virtual ~ScTableConditionalFormat() override;
void FillFormat( ScConditionalFormat& rFormat, ScDocument* pDoc,
formula::FormulaGrammar::Grammar eGrammar) const;
@@ -147,7 +147,7 @@ private:
public:
ScTableConditionalEntry() = delete;
ScTableConditionalEntry(const ScCondFormatEntryItem& aItem);
- virtual ~ScTableConditionalEntry();
+ virtual ~ScTableConditionalEntry() override;
void GetData(ScCondFormatEntryItem& rData) const;
@@ -223,7 +223,7 @@ public:
ScTableValidationObj() = delete;
ScTableValidationObj(ScDocument* pDoc, sal_uLong nKey,
const formula::FormulaGrammar::Grammar eGrammar);
- virtual ~ScTableValidationObj();
+ virtual ~ScTableValidationObj() override;
ScValidationData* CreateValidationData( ScDocument* pDoc,
formula::FormulaGrammar::Grammar eGrammar ) const;
diff --git a/sc/inc/forbiuno.hxx b/sc/inc/forbiuno.hxx
index 5c3fa2b8b9de..4f237b97ff75 100644
--- a/sc/inc/forbiuno.hxx
+++ b/sc/inc/forbiuno.hxx
@@ -36,7 +36,7 @@ protected:
public:
ScForbiddenCharsObj( ScDocShell* pDocSh );
- virtual ~ScForbiddenCharsObj();
+ virtual ~ScForbiddenCharsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
};
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index c34831be5460..cec4b2d64db3 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -157,7 +157,7 @@ public:
ScAddress aPos;
- virtual ~ScFormulaCell();
+ virtual ~ScFormulaCell() override;
ScFormulaCell* Clone() const;
ScFormulaCell* Clone( const ScAddress& rPos ) const;
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx
index 19eb898bdfba..57fe258661de 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -149,7 +149,7 @@ class SC_DLLPUBLIC FormulaGroupInterpreterSoftware : public FormulaGroupInterpre
{
public:
FormulaGroupInterpreterSoftware();
- virtual ~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/formulaopt.hxx b/sc/inc/formulaopt.hxx
index 237fe8d7f2d4..9d12fccb00c7 100644
--- a/sc/inc/formulaopt.hxx
+++ b/sc/inc/formulaopt.hxx
@@ -88,7 +88,7 @@ public:
ScTpFormulaItem( sal_uInt16 nWhich,
const ScFormulaOptions& rOpt );
ScTpFormulaItem( const ScTpFormulaItem& rItem );
- virtual ~ScTpFormulaItem();
+ virtual ~ScTpFormulaItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/funcuno.hxx b/sc/inc/funcuno.hxx
index 1aab2365d05f..267c7f31706c 100644
--- a/sc/inc/funcuno.hxx
+++ b/sc/inc/funcuno.hxx
@@ -66,7 +66,7 @@ private:
public:
ScFunctionAccess();
- virtual ~ScFunctionAccess();
+ virtual ~ScFunctionAccess() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/grouparealistener.hxx b/sc/inc/grouparealistener.hxx
index eab9edbd292d..138375458165 100644
--- a/sc/inc/grouparealistener.hxx
+++ b/sc/inc/grouparealistener.hxx
@@ -41,7 +41,7 @@ public:
FormulaGroupAreaListener( const ScRange& rRange, const ScDocument& rDocument,
const ScAddress& rTopCellPos, SCROW nGroupLen, bool bStartFixed, bool bEndFixed );
- virtual ~FormulaGroupAreaListener();
+ virtual ~FormulaGroupAreaListener() override;
ScRange getListeningRange() const;
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index ac740bcf7594..d36e5a2cae4a 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -33,7 +33,7 @@ class ScPaintHint : public SfxHint
public:
ScPaintHint() = delete;
ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint = PAINT_ALL );
- virtual ~ScPaintHint();
+ virtual ~ScPaintHint() override;
void SetPrintFlag(bool bSet) { bPrint = bSet; }
SCCOL GetStartCol() const { return aRange.aStart.Col(); }
@@ -57,7 +57,7 @@ class ScUpdateRefHint : public SfxHint
public:
ScUpdateRefHint( UpdateRefMode eMode, const ScRange& rR,
SCsCOL nX, SCsROW nY, SCsTAB nZ );
- virtual ~ScUpdateRefHint();
+ virtual ~ScUpdateRefHint() override;
UpdateRefMode GetMode() const { return eUpdateRefMode; }
const ScRange& GetRange() const { return aRange; }
@@ -84,7 +84,7 @@ class ScLinkRefreshedHint : public SfxHint
public:
ScLinkRefreshedHint();
- virtual ~ScLinkRefreshedHint();
+ virtual ~ScLinkRefreshedHint() override;
void SetSheetLink( const OUString& rSourceUrl );
void SetDdeLink( const OUString& rA, const OUString& rT, const OUString& rI, sal_uInt8 nM );
@@ -110,7 +110,7 @@ class ScAutoStyleHint : public SfxHint
public:
ScAutoStyleHint( const ScRange& rR, const OUString& rSt1,
sal_uLong nT, const OUString& rSt2 );
- virtual ~ScAutoStyleHint();
+ virtual ~ScAutoStyleHint() override;
const ScRange& GetRange() const { return aRange; }
const OUString& GetStyle1() const { return aStyle1; }
@@ -124,7 +124,7 @@ class ScDBRangeRefreshedHint : public SfxHint
public:
ScDBRangeRefreshedHint( const ScImportParam& rP );
- virtual ~ScDBRangeRefreshedHint();
+ virtual ~ScDBRangeRefreshedHint() override;
const ScImportParam& GetImportParam() const { return aParam; }
};
@@ -135,7 +135,7 @@ class ScDataPilotModifiedHint : public SfxHint
public:
ScDataPilotModifiedHint( const OUString& rName );
- virtual ~ScDataPilotModifiedHint();
+ virtual ~ScDataPilotModifiedHint() override;
const OUString& GetName() const { return maName; }
};
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx
index da892143069f..efbfc35311fa 100644
--- a/sc/inc/linkuno.hxx
+++ b/sc/inc/linkuno.hxx
@@ -67,7 +67,7 @@ private:
public:
ScSheetLinkObj(ScDocShell* pDocSh, const OUString& rName);
- virtual ~ScSheetLinkObj();
+ virtual ~ScSheetLinkObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -157,7 +157,7 @@ private:
public:
ScSheetLinksObj(ScDocShell* pDocSh);
- virtual ~ScSheetLinksObj();
+ virtual ~ScSheetLinksObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -217,7 +217,7 @@ private:
public:
ScAreaLinkObj(ScDocShell* pDocSh, size_t nP);
- virtual ~ScAreaLinkObj();
+ virtual ~ScAreaLinkObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -308,7 +308,7 @@ private:
public:
ScAreaLinksObj(ScDocShell* pDocSh);
- virtual ~ScAreaLinksObj();
+ virtual ~ScAreaLinksObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -369,7 +369,7 @@ private:
public:
ScDDELinkObj(ScDocShell* pDocSh, const OUString& rA,
const OUString& rT, const OUString& rI);
- virtual ~ScDDELinkObj();
+ virtual ~ScDDELinkObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -425,7 +425,7 @@ private:
public:
ScDDELinksObj(ScDocShell* pDocSh);
- virtual ~ScDDELinksObj();
+ virtual ~ScDDELinksObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -475,7 +475,7 @@ class ScExternalSheetCacheObj : public cppu::WeakImplHelper< css::sheet::XExtern
{
public:
explicit ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef const & pTable, size_t nIndex);
- virtual ~ScExternalSheetCacheObj();
+ virtual ~ScExternalSheetCacheObj() override;
// XExternalSheetCache
virtual void SAL_CALL setCellValue(
@@ -508,7 +508,7 @@ class ScExternalDocLinkObj : public cppu::WeakImplHelper< css::sheet::XExternalD
{
public:
ScExternalDocLinkObj(ScDocShell* pDocShell, ScExternalRefManager* pRefMgr, sal_uInt16 nFileId);
- virtual ~ScExternalDocLinkObj();
+ virtual ~ScExternalDocLinkObj() override;
// XExternalDocLink
virtual css::uno::Reference< css::sheet::XExternalSheetCache >
@@ -556,7 +556,7 @@ class ScExternalDocLinksObj : public cppu::WeakImplHelper< css::sheet::XExternal
{
public:
ScExternalDocLinksObj(ScDocShell* pDocShell);
- virtual ~ScExternalDocLinksObj();
+ virtual ~ScExternalDocLinksObj() override;
// XExternalDocLinks
virtual css::uno::Reference< css::sheet::XExternalDocLink >
diff --git a/sc/inc/listenerquery.hxx b/sc/inc/listenerquery.hxx
index f69283cb93a0..1b72023ab183 100644
--- a/sc/inc/listenerquery.hxx
+++ b/sc/inc/listenerquery.hxx
@@ -33,7 +33,7 @@ public:
typedef std::unordered_map<SCTAB,ColsType> TabsType;
RefQueryFormulaGroup();
- virtual ~RefQueryFormulaGroup();
+ virtual ~RefQueryFormulaGroup() override;
void setSkipRange( const ScRange& rRange );
void add( const ScAddress& rPos );
@@ -59,7 +59,7 @@ class QueryRange : public SvtListener::QueryBase
public:
QueryRange();
- virtual ~QueryRange();
+ virtual ~QueryRange() override;
void add( const ScRange& rRange );
diff --git a/sc/inc/lookupcache.hxx b/sc/inc/lookupcache.hxx
index 9e33c2b1d7ac..7dd37f43ad44 100644
--- a/sc/inc/lookupcache.hxx
+++ b/sc/inc/lookupcache.hxx
@@ -108,7 +108,7 @@ public:
/// MUST be new'd because Notify() deletes.
ScLookupCache( ScDocument * pDoc, const ScRange & rRange );
- virtual ~ScLookupCache();
+ virtual ~ScLookupCache() override;
/// Remove from document structure and delete (!) cache on modify hint.
virtual void Notify( const SfxHint& rHint ) override;
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index 8bbcdbf0a16b..e453a0a57a3e 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -94,7 +94,7 @@ private:
public:
ScIndexEnumeration(const css::uno::Reference<
css::container::XIndexAccess>& rInd, const OUString& rServiceName);
- virtual ~ScIndexEnumeration();
+ virtual ~ScIndexEnumeration() override;
// XEnumeration
virtual sal_Bool SAL_CALL hasMoreElements() throw(css::uno::RuntimeException, std::exception) override;
@@ -124,7 +124,7 @@ private:
public:
ScNameToIndexAccess(
const css::uno::Reference< css::container::XNameAccess>& rNameObj );
- virtual ~ScNameToIndexAccess();
+ virtual ~ScNameToIndexAccess() override;
// XIndexAccess
virtual sal_Int32 SAL_CALL getCount( ) throw(css::uno::RuntimeException, std::exception) override;
diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx
index ecdedee8adfc..befd15efe3bf 100644
--- a/sc/inc/nameuno.hxx
+++ b/sc/inc/nameuno.hxx
@@ -70,7 +70,7 @@ friend class ScVbaName;
public:
ScNamedRangeObj( rtl::Reference< ScNamedRangesObj > const & xParent, ScDocShell* pDocSh, const OUString& rNm,
css::uno::Reference< css::container::XNamed > const & xSheet = css::uno::Reference< css::container::XNamed > ());
- virtual ~ScNamedRangeObj();
+ virtual ~ScNamedRangeObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -192,7 +192,7 @@ protected:
public:
ScNamedRangesObj(ScDocShell* pDocSh);
- virtual ~ScNamedRangesObj();
+ virtual ~ScNamedRangesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -303,7 +303,7 @@ private:
public:
ScGlobalNamedRangesObj(ScDocShell* pDocSh);
- virtual ~ScGlobalNamedRangesObj();
+ virtual ~ScGlobalNamedRangesObj() override;
};
class ScLocalNamedRangesObj: public ScNamedRangesObj
@@ -319,7 +319,7 @@ private:
css::uno::Reference< css::container::XNamed > mxSheet;
public:
ScLocalNamedRangesObj(ScDocShell* pDocSh, css::uno::Reference< css::container::XNamed > const & xNamed );
- virtual ~ScLocalNamedRangesObj();
+ virtual ~ScLocalNamedRangesObj() override;
};
class ScLabelRangeObj : public ::cppu::WeakImplHelper<
@@ -338,7 +338,7 @@ private:
public:
ScLabelRangeObj(ScDocShell* pDocSh, bool bCol, const ScRange& rR);
- virtual ~ScLabelRangeObj();
+ virtual ~ScLabelRangeObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -375,7 +375,7 @@ private:
public:
ScLabelRangesObj(ScDocShell* pDocSh, bool bCol);
- virtual ~ScLabelRangesObj();
+ virtual ~ScLabelRangesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/notesuno.hxx b/sc/inc/notesuno.hxx
index 5b41cb2a3062..e849b3e3da86 100644
--- a/sc/inc/notesuno.hxx
+++ b/sc/inc/notesuno.hxx
@@ -44,7 +44,7 @@ class ScAnnotationObj : public cppu::WeakImplHelper<
{
public:
ScAnnotationObj(ScDocShell* pDocSh, const ScAddress& rPos);
- virtual ~ScAnnotationObj();
+ virtual ~ScAnnotationObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/optuno.hxx b/sc/inc/optuno.hxx
index b75fb3c58e8f..ca201c342a29 100644
--- a/sc/inc/optuno.hxx
+++ b/sc/inc/optuno.hxx
@@ -61,7 +61,7 @@ private:
public:
ScDocOptionsObj( const ScDocOptions& rOpt );
- virtual ~ScDocOptionsObj();
+ virtual ~ScDocOptionsObj() override;
// get/setPropertyValue override to used stored options instead of document
diff --git a/sc/inc/pageuno.hxx b/sc/inc/pageuno.hxx
index 08f087ef145a..f7303919799b 100644
--- a/sc/inc/pageuno.hxx
+++ b/sc/inc/pageuno.hxx
@@ -28,7 +28,7 @@ class ScPageObj : public SvxFmDrawPage
{
public:
ScPageObj(SdrPage* pPage);
- virtual ~ScPageObj() throw();
+ virtual ~ScPageObj() throw() override;
virtual css::uno::Reference<css::drawing::XShape> CreateShape(SdrObject *pObj) const
throw (css::uno::RuntimeException, std::exception) override;
diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx
index 626e3ddef6b9..244b9add84ff 100644
--- a/sc/inc/patattr.hxx
+++ b/sc/inc/patattr.hxx
@@ -58,7 +58,7 @@ public:
ScPatternAttr(SfxItemPool* pItemPool);
ScPatternAttr(const ScPatternAttr& rPatternAttr);
- virtual ~ScPatternAttr();
+ virtual ~ScPatternAttr() override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream& rStream, sal_uInt16 nVersion) const override;
diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx
index bf8bef230d39..af2fd6495745 100644
--- a/sc/inc/printopt.hxx
+++ b/sc/inc/printopt.hxx
@@ -58,7 +58,7 @@ public:
ScTpPrintItem( sal_uInt16 nWhich,
const ScPrintOptions& rOpt );
ScTpPrintItem( const ScTpPrintItem& rItem );
- virtual ~ScTpPrintItem();
+ virtual ~ScTpPrintItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx
index c1ea63a659d7..68ac18b6f84a 100644
--- a/sc/inc/queryparam.hxx
+++ b/sc/inc/queryparam.hxx
@@ -101,7 +101,7 @@ struct SC_DLLPUBLIC ScQueryParam : public ScQueryParamBase, public ScQueryParamT
ScQueryParam();
ScQueryParam( const ScQueryParam& r );
ScQueryParam( const ScDBQueryParamInternal& r );
- virtual ~ScQueryParam();
+ virtual ~ScQueryParam() override;
ScQueryParam& operator= ( const ScQueryParam& r );
bool operator== ( const ScQueryParam& rOther ) const;
@@ -120,7 +120,7 @@ struct ScDBQueryParamBase : public ScQueryParamBase
DataType GetType() const { return meType;}
ScDBQueryParamBase() = delete;
- virtual ~ScDBQueryParamBase();
+ virtual ~ScDBQueryParamBase() override;
protected:
ScDBQueryParamBase(DataType eType);
@@ -132,7 +132,7 @@ private:
struct ScDBQueryParamInternal : public ScDBQueryParamBase, public ScQueryParamTable
{
ScDBQueryParamInternal();
- virtual ~ScDBQueryParamInternal();
+ virtual ~ScDBQueryParamInternal() override;
virtual bool IsValidFieldIndex() const override;
};
@@ -142,7 +142,7 @@ struct ScDBQueryParamMatrix : public ScDBQueryParamBase
ScMatrixRef mpMatrix;
ScDBQueryParamMatrix();
- virtual ~ScDBQueryParamMatrix();
+ virtual ~ScDBQueryParamMatrix() override;
virtual bool IsValidFieldIndex() const override;
};
diff --git a/sc/inc/rangelst.hxx b/sc/inc/rangelst.hxx
index 783dd44bd552..fb1df785f93c 100644
--- a/sc/inc/rangelst.hxx
+++ b/sc/inc/rangelst.hxx
@@ -33,7 +33,7 @@ public:
ScRangeList();
ScRangeList( const ScRangeList& rList );
ScRangeList( const ScRange& rRange );
- virtual ~ScRangeList();
+ virtual ~ScRangeList() override;
ScRangeList& operator=(const ScRangeList& rList);
void Append( const ScRange& rRange );
@@ -106,7 +106,7 @@ typedef tools::SvRef<ScRangeList> ScRangeListRef;
class SC_DLLPUBLIC ScRangePairList : public SvRefBase
{
public:
- virtual ~ScRangePairList();
+ virtual ~ScRangePairList() override;
ScRangePairList* Clone() const;
void Append( const ScRangePair& rRangePair )
{
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx
index ffbe7fe7bd78..209d35c2001d 100644
--- a/sc/inc/refhint.hxx
+++ b/sc/inc/refhint.hxx
@@ -37,7 +37,7 @@ protected:
public:
RefHint() = delete;
- virtual ~RefHint() = 0;
+ virtual ~RefHint() override = 0;
Type getType() const;
};
@@ -51,7 +51,7 @@ class RefMovedHint : public RefHint
public:
RefMovedHint( const ScRange& rRange, const ScAddress& rMove, const sc::RefUpdateContext& rCxt );
- virtual ~RefMovedHint();
+ virtual ~RefMovedHint() override;
/**
* Get the source range from which the references have moved.
@@ -75,7 +75,7 @@ class RefColReorderHint : public RefHint
public:
RefColReorderHint( const sc::ColRowReorderMapType& rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2 );
- virtual ~RefColReorderHint();
+ virtual ~RefColReorderHint() override;
const sc::ColRowReorderMapType& getColMap() const;
@@ -93,7 +93,7 @@ class RefRowReorderHint : public RefHint
public:
RefRowReorderHint( const sc::ColRowReorderMapType& rRowMap, SCTAB nTab, SCCOL nCol1, SCCOL nCol2 );
- virtual ~RefRowReorderHint();
+ virtual ~RefRowReorderHint() override;
const sc::ColRowReorderMapType& getRowMap() const;
@@ -106,14 +106,14 @@ class RefStartListeningHint : public RefHint
{
public:
RefStartListeningHint();
- virtual ~RefStartListeningHint();
+ virtual ~RefStartListeningHint() override;
};
class RefStopListeningHint : public RefHint
{
public:
RefStopListeningHint();
- virtual ~RefStopListeningHint();
+ virtual ~RefStopListeningHint() override;
};
}
diff --git a/sc/inc/refreshtimer.hxx b/sc/inc/refreshtimer.hxx
index 3464151d666e..93ccc315d0d6 100644
--- a/sc/inc/refreshtimer.hxx
+++ b/sc/inc/refreshtimer.hxx
@@ -47,7 +47,7 @@ public:
ScRefreshTimer();
ScRefreshTimer( sal_uLong nSeconds );
ScRefreshTimer( const ScRefreshTimer& r );
- virtual ~ScRefreshTimer();
+ virtual ~ScRefreshTimer() override;
ScRefreshTimer& operator=( const ScRefreshTimer& r );
bool operator==( const ScRefreshTimer& r ) const;
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index 6757c07e1513..b4899681b70b 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -444,7 +444,7 @@ public:
ScFullMatrix( size_t nC, size_t nR, const std::vector<double>& rInitVals );
- virtual ~ScFullMatrix();
+ virtual ~ScFullMatrix() override;
/** Clone the matrix. */
virtual ScMatrix* Clone() const override;
@@ -662,7 +662,7 @@ public:
ScVectorRefMatrix(const formula::DoubleVectorRefToken* pToken, SCSIZE nRowStart, SCSIZE nRowSize);
- virtual ~ScVectorRefMatrix();
+ virtual ~ScVectorRefMatrix() override;
/** Clone the matrix. */
virtual ScMatrix* Clone() const override;
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index bb8df9ce07c1..851ffbe0cf96 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -115,7 +115,7 @@ private:
public:
ScModule( SfxObjectFactory* pFact );
- virtual ~ScModule();
+ virtual ~ScModule() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 ) override;
diff --git a/sc/inc/shapeuno.hxx b/sc/inc/shapeuno.hxx
index 3d24fa5afa09..f4e9e7ec4dfb 100644
--- a/sc/inc/shapeuno.hxx
+++ b/sc/inc/shapeuno.hxx
@@ -87,7 +87,7 @@ public:
// ctor modifies xShape parameter
ScShapeObj( css::uno::Reference<
css::drawing::XShape > & xShape );
- virtual ~ScShapeObj();
+ virtual ~ScShapeObj() override;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(
diff --git a/sc/inc/srchuno.hxx b/sc/inc/srchuno.hxx
index 405c91d5d140..bbe535bb1bfe 100644
--- a/sc/inc/srchuno.hxx
+++ b/sc/inc/srchuno.hxx
@@ -39,7 +39,7 @@ private:
public:
ScCellSearchObj();
- virtual ~ScCellSearchObj();
+ virtual ~ScCellSearchObj() override;
SvxSearchItem* GetSearchItem() const { return pSearchItem; }
diff --git a/sc/inc/stlpool.hxx b/sc/inc/stlpool.hxx
index 74d815f3fafe..a5675c7353a3 100644
--- a/sc/inc/stlpool.hxx
+++ b/sc/inc/stlpool.hxx
@@ -57,7 +57,7 @@ public:
sal_uInt16 nMask = SFXSTYLEBIT_ALL) override;
protected:
- virtual ~ScStyleSheetPool();
+ virtual ~ScStyleSheetPool() override;
using SfxStyleSheetPool::Create; // calcwarnings: Create(const SfxStyleSheet&) - ever used?
diff --git a/sc/inc/stlsheet.hxx b/sc/inc/stlsheet.hxx
index 6c7f8abcdef1..bebbc0f87a1b 100644
--- a/sc/inc/stlsheet.hxx
+++ b/sc/inc/stlsheet.hxx
@@ -65,7 +65,7 @@ public:
ScStyleSheet::Usage GetUsage() const { return eUsage; }
protected:
- virtual ~ScStyleSheet();
+ virtual ~ScStyleSheet() override;
ScStyleSheet( const OUString& rName,
ScStyleSheetPool& rPool,
diff --git a/sc/inc/styleuno.hxx b/sc/inc/styleuno.hxx
index 33bb7193aed1..a6fb761e38a9 100644
--- a/sc/inc/styleuno.hxx
+++ b/sc/inc/styleuno.hxx
@@ -61,7 +61,7 @@ private:
public:
ScStyleFamiliesObj(ScDocShell* pDocSh);
- virtual ~ScStyleFamiliesObj();
+ virtual ~ScStyleFamiliesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -130,7 +130,7 @@ private:
public:
ScStyleFamilyObj(ScDocShell* pDocSh, SfxStyleFamily eFam);
- virtual ~ScStyleFamilyObj();
+ virtual ~ScStyleFamilyObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -234,7 +234,7 @@ private:
public:
ScStyleObj() = delete;
ScStyleObj(ScDocShell* pDocSh, SfxStyleFamily eFam, const OUString& rName);
- virtual ~ScStyleObj();
+ virtual ~ScStyleObj() override;
// created by getImplementation:
bool IsInserted() const { return pDocShell != nullptr; }
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx
index ebf0018c45e5..4142c79b9ee9 100644
--- a/sc/inc/tablink.hxx
+++ b/sc/inc/tablink.hxx
@@ -46,7 +46,7 @@ public:
const OUString& rFilter, const OUString& rOpt, sal_uLong nRefresh );
ScTableLink( SfxObjectShell* pShell, const OUString& rFile,
const OUString& rFilter, const OUString& rOpt, sal_uLong nRefresh );
- virtual ~ScTableLink();
+ virtual ~ScTableLink() override;
virtual void Closed() override;
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
const OUString& rMimeType, const css::uno::Any & rValue ) override;
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx
index f5cff8ca4b89..f8226c302ae9 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -82,7 +82,7 @@ public:
explicit ScDocProtection();
explicit ScDocProtection(const ScDocProtection& r);
- virtual ~ScDocProtection();
+ virtual ~ScDocProtection() override;
virtual bool isProtected() const override;
virtual bool isProtectedWithPass() const override;
@@ -167,7 +167,7 @@ public:
explicit ScTableProtection();
explicit ScTableProtection(const ScTableProtection& r);
- virtual ~ScTableProtection();
+ virtual ~ScTableProtection() override;
virtual bool isProtected() const override;
virtual bool isProtectedWithPass() const override;
diff --git a/sc/inc/targuno.hxx b/sc/inc/targuno.hxx
index a21b8e5abc29..e688683dcecc 100644
--- a/sc/inc/targuno.hxx
+++ b/sc/inc/targuno.hxx
@@ -73,7 +73,7 @@ private:
public:
ScLinkTargetTypesObj(ScDocShell* pDocSh);
- virtual ~ScLinkTargetTypesObj();
+ virtual ~ScLinkTargetTypesObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -108,7 +108,7 @@ private:
public:
ScLinkTargetTypeObj(ScDocShell* pDocSh, sal_uInt16 nT);
- virtual ~ScLinkTargetTypeObj();
+ virtual ~ScLinkTargetTypeObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -166,7 +166,7 @@ private:
public:
ScLinkTargetsObj( const css::uno::Reference< css::container::XNameAccess > & rColl );
- virtual ~ScLinkTargetsObj();
+ virtual ~ScLinkTargetsObj() override;
// css::container::XNameAccess
virtual css::uno::Any SAL_CALL getByName(const OUString& aName)
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index d70f17f26426..eafda68ba6be 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -67,7 +67,7 @@ private:
public:
ScHeaderFooterContentObj();
- virtual ~ScHeaderFooterContentObj();
+ virtual ~ScHeaderFooterContentObj() override;
// for ScPageHFItem (using getImplementation)
const EditTextObject* GetLeftEditObject() const;
@@ -157,7 +157,7 @@ private:
public:
ScHeaderFooterTextObj(
css::uno::WeakReference<css::sheet::XHeaderFooterContent> xContent, ScHeaderFooterPart nP, const EditTextObject* pTextObj);
- virtual ~ScHeaderFooterTextObj();
+ virtual ~ScHeaderFooterTextObj() override;
const EditTextObject* GetTextObject() const;
const SvxUnoText& GetUnoText();
@@ -240,7 +240,7 @@ class ScCellTextCursor : public SvxUnoTextCursor
public:
ScCellTextCursor(const ScCellTextCursor& rOther);
ScCellTextCursor(ScCellObj& rText);
- virtual ~ScCellTextCursor() throw();
+ virtual ~ScCellTextCursor() throw() override;
ScCellObj& GetCellObj() const { return rTextObj; }
@@ -268,7 +268,7 @@ private:
public:
ScHeaderFooterTextCursor(const ScHeaderFooterTextCursor& rOther);
ScHeaderFooterTextCursor(ScHeaderFooterTextObj& rText);
- virtual ~ScHeaderFooterTextCursor() throw();
+ virtual ~ScHeaderFooterTextCursor() throw() override;
// SvxUnoTextCursor methods reimplemented here:
virtual css::uno::Reference< css::text::XText > SAL_CALL
@@ -295,7 +295,7 @@ public:
ScDrawTextCursor(const ScDrawTextCursor& rOther);
ScDrawTextCursor( const css::uno::Reference< css::text::XText >& xParent,
const SvxUnoTextBase& rText );
- virtual ~ScDrawTextCursor() throw();
+ virtual ~ScDrawTextCursor() throw() override;
// SvxUnoTextCursor methods reimplemented here:
virtual css::uno::Reference< css::text::XText > SAL_CALL
@@ -336,7 +336,7 @@ class ScEditEngineTextObj : public ScSimpleEditSourceHelper, public SvxUnoText
{
public:
ScEditEngineTextObj();
- virtual ~ScEditEngineTextObj() throw();
+ virtual ~ScEditEngineTextObj() throw() override;
void SetText( const EditTextObject& rTextObject );
EditTextObject* CreateTextObject();
@@ -359,7 +359,7 @@ protected:
public:
ScCellTextData(ScDocShell* pDocSh, const ScAddress& rP);
- virtual ~ScCellTextData();
+ virtual ~ScCellTextData() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -382,7 +382,7 @@ class ScCellTextObj : public ScCellTextData, public SvxUnoText
{
public:
ScCellTextObj(ScDocShell* pDocSh, const ScAddress& rP);
- virtual ~ScCellTextObj() throw();
+ virtual ~ScCellTextObj() throw() override;
};
#endif
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 1a3f9f0aca70..94a1da8b0db1 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -151,7 +151,7 @@ public:
ScExternalSingleRefToken( sal_uInt16 nFileId, const svl::SharedString& rTabName, const ScSingleRefData& r );
ScExternalSingleRefToken( const ScExternalSingleRefToken& r );
ScExternalSingleRefToken() = delete;
- virtual ~ScExternalSingleRefToken();
+ virtual ~ScExternalSingleRefToken() override;
virtual sal_uInt16 GetIndex() const override;
virtual svl::SharedString GetString() const override;
@@ -171,7 +171,7 @@ public:
ScExternalDoubleRefToken() = delete;
ScExternalDoubleRefToken( sal_uInt16 nFileId, const svl::SharedString& rTabName, const ScComplexRefData& r );
ScExternalDoubleRefToken( const ScExternalDoubleRefToken& r );
- virtual ~ScExternalDoubleRefToken();
+ virtual ~ScExternalDoubleRefToken() override;
virtual sal_uInt16 GetIndex() const override;
virtual svl::SharedString GetString() const override;
@@ -194,7 +194,7 @@ public:
ScExternalNameToken() = delete;
ScExternalNameToken( sal_uInt16 nFileId, const svl::SharedString& rName );
ScExternalNameToken( const ScExternalNameToken& r );
- virtual ~ScExternalNameToken();
+ virtual ~ScExternalNameToken() override;
virtual sal_uInt16 GetIndex() const override;
virtual svl::SharedString GetString() const override;
@@ -222,7 +222,7 @@ public:
ScTableRefToken() = delete;
ScTableRefToken( sal_uInt16 nIndex, Item eItem );
ScTableRefToken( const ScTableRefToken& r );
- virtual ~ScTableRefToken();
+ virtual ~ScTableRefToken() override;
virtual sal_uInt16 GetIndex() const override;
virtual void SetIndex( sal_uInt16 n ) override;
@@ -253,7 +253,7 @@ public:
FormulaToken( formula::svJumpMatrix ), pJumpMatrix( p ) {}
ScJumpMatrixToken( const ScJumpMatrixToken& r ) :
FormulaToken( r ), pJumpMatrix( r.pJumpMatrix ) {}
- virtual ~ScJumpMatrixToken();
+ virtual ~ScJumpMatrixToken() override;
virtual ScJumpMatrix* GetJumpMatrix() const override;
virtual bool operator==( const formula::FormulaToken& rToken ) const override;
virtual FormulaToken* Clone() const override { return new ScJumpMatrixToken(*this); }
@@ -310,7 +310,7 @@ protected:
public:
ScMatrixCellResultToken( const ScConstMatrixRef& pMat, formula::FormulaToken* pUL );
ScMatrixCellResultToken( const ScMatrixCellResultToken& r );
- virtual ~ScMatrixCellResultToken();
+ virtual ~ScMatrixCellResultToken() override;
virtual double GetDouble() const override;
virtual svl::SharedString GetString() const override;
virtual const ScMatrix* GetMatrix() const override;
@@ -337,7 +337,7 @@ public:
ScMatrixFormulaCellToken( SCCOL nC, SCROW nR, const ScConstMatrixRef& pMat, formula::FormulaToken* pUL );
ScMatrixFormulaCellToken( SCCOL nC, SCROW nR );
ScMatrixFormulaCellToken( const ScMatrixFormulaCellToken& r );
- virtual ~ScMatrixFormulaCellToken();
+ virtual ~ScMatrixFormulaCellToken() override;
virtual bool operator==( const formula::FormulaToken& rToken ) const override;
virtual FormulaToken* Clone() const override { return new ScMatrixFormulaCellToken(*this); }
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 992a9d37dd82..f91205ac5f36 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -57,7 +57,7 @@ public:
ScTokenArray();
/// Assignment with references to FormulaToken entries (not copied!)
ScTokenArray( const ScTokenArray& );
- virtual ~ScTokenArray();
+ virtual ~ScTokenArray() override;
void ClearScTokenArray();
ScTokenArray* Clone() const; /// True copy!
diff --git a/sc/inc/tokenuno.hxx b/sc/inc/tokenuno.hxx
index f28d24eada64..55599c3834d2 100644
--- a/sc/inc/tokenuno.hxx
+++ b/sc/inc/tokenuno.hxx
@@ -68,7 +68,7 @@ private:
public:
ScFormulaParserObj(ScDocShell* pDocSh);
- virtual ~ScFormulaParserObj();
+ virtual ~ScFormulaParserObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/undorangename.hxx b/sc/inc/undorangename.hxx
index 009c2a13c63f..6fbbf8d42f04 100644
--- a/sc/inc/undorangename.hxx
+++ b/sc/inc/undorangename.hxx
@@ -28,7 +28,7 @@ public:
const std::map<OUString, ScRangeName*>& rOldNames,
const std::map<OUString, std::unique_ptr<ScRangeName>>& rNewNames);
- virtual ~ScUndoAllRangeNames();
+ virtual ~ScUndoAllRangeNames() override;
virtual void Undo() override;
virtual void Redo() override;
@@ -50,7 +50,7 @@ public:
// nTab = -1 for global range names
ScUndoAddRangeData(ScDocShell* pDocSh, ScRangeData* pRangeData, SCTAB nTab);
- virtual ~ScUndoAddRangeData();
+ virtual ~ScUndoAddRangeData() override;
virtual void Undo() override;
virtual void Redo() override;
diff --git a/sc/inc/unoreflist.hxx b/sc/inc/unoreflist.hxx
index 51f4dc53dc37..d9b845e22d2c 100644
--- a/sc/inc/unoreflist.hxx
+++ b/sc/inc/unoreflist.hxx
@@ -63,7 +63,7 @@ class ScUnoRefUndoHint : public SfxHint
public:
ScUnoRefUndoHint( const ScUnoRefEntry& rRefEntry );
- virtual ~ScUnoRefUndoHint();
+ virtual ~ScUnoRefUndoHint() override;
sal_Int64 GetObjectId() const { return aEntry.nObjectId; }
const ScRangeList& GetRanges() const { return aEntry.aRanges; }
diff --git a/sc/inc/userdat.hxx b/sc/inc/userdat.hxx
index dd063be5ac3f..95a9cbc570c1 100644
--- a/sc/inc/userdat.hxx
+++ b/sc/inc/userdat.hxx
@@ -67,7 +67,7 @@ public:
ScIMapInfo();
ScIMapInfo( const ImageMap& rImageMap );
ScIMapInfo( const ScIMapInfo& rIMapInfo );
- virtual ~ScIMapInfo();
+ virtual ~ScIMapInfo() override;
virtual SdrObjUserData* Clone( SdrObject* pObj ) const override;
@@ -79,7 +79,7 @@ class ScMacroInfo : public SdrObjUserData
{
public:
ScMacroInfo();
- virtual ~ScMacroInfo();
+ virtual ~ScMacroInfo() override;
virtual SdrObjUserData* Clone( SdrObject* pObj ) const override;
diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx
index e26655348672..6f67becea43b 100644
--- a/sc/inc/validat.hxx
+++ b/sc/inc/validat.hxx
@@ -92,7 +92,7 @@ public:
ScDocument* pDocument, const ScAddress& rPos );
ScValidationData( const ScValidationData& r );
ScValidationData( ScDocument* pDocument, const ScValidationData& r );
- virtual ~ScValidationData();
+ virtual ~ScValidationData() override;
ScValidationData* Clone() const // real copy
{ return new ScValidationData( GetDocument(), *this ); }
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index 580a2b38bdea..55cb312e43ae 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -118,7 +118,7 @@ public:
static SfxPoolItem* CreateDefault();
ScTpViewItem( sal_uInt16 nWhich, const ScViewOptions& rOpt );
ScTpViewItem( const ScTpViewItem& rItem );
- virtual ~ScTpViewItem();
+ virtual ~ScTpViewItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index 3fc353bf1e4f..b18281faaee5 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -66,7 +66,7 @@ protected:
public:
ScViewPaneBase(ScTabViewShell* pViewSh, sal_uInt16 nP);
- virtual ~ScViewPaneBase();
+ virtual ~ScViewPaneBase() override;
ScTabViewShell* GetViewShell() const { return pViewShell; }
@@ -128,7 +128,7 @@ class ScViewPaneObj : public ScViewPaneBase, public cppu::OWeakObject
{
public:
ScViewPaneObj(ScTabViewShell* pViewSh, sal_uInt16 nP);
- virtual ~ScViewPaneObj();
+ virtual ~ScViewPaneObj() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
throw(css::uno::RuntimeException, std::exception) override;
@@ -187,7 +187,7 @@ private:
public:
ScTabViewObj(ScTabViewShell* pViewSh);
ScTabViewObj() = delete;
- virtual ~ScTabViewObj();
+ virtual ~ScTabViewObj() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
throw(css::uno::RuntimeException, std::exception) override;
@@ -381,7 +381,7 @@ class ScPreviewObj : public SfxBaseController,
ScPreviewShell* mpViewShell;
public:
ScPreviewObj(ScPreviewShell* pViewSh);
- virtual ~ScPreviewObj();
+ virtual ~ScPreviewObj() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType)
throw(css::uno::RuntimeException, std::exception) override;