diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:09:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:19:22 +0200 |
commit | 91dd2db17bd6cb9b357d1d69b187174e31eabef0 (patch) | |
tree | d634de3a1a6820904b5699c2136b79b1a5a807c7 /sc/inc/cellsuno.hxx | |
parent | 6f8ea7e89ea190b9462c945d55a3ad8777b2f3ef (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/cellsuno.hxx')
-rw-r--r-- | sc/inc/cellsuno.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
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; |