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 /sw/source/core/inc | |
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 'sw/source/core/inc')
83 files changed, 150 insertions, 150 deletions
diff --git a/sw/source/core/inc/DocumentChartDataProviderManager.hxx b/sw/source/core/inc/DocumentChartDataProviderManager.hxx index aca39d771ba2..916a78ef046e 100644 --- a/sw/source/core/inc/DocumentChartDataProviderManager.hxx +++ b/sw/source/core/inc/DocumentChartDataProviderManager.hxx @@ -49,7 +49,7 @@ public: SwChartLockController_Helper & GetChartControllerHelper() override; - virtual ~DocumentChartDataProviderManager(); + virtual ~DocumentChartDataProviderManager() override; private: diff --git a/sw/source/core/inc/DocumentContentOperationsManager.hxx b/sw/source/core/inc/DocumentContentOperationsManager.hxx index 130546f3ada9..80263f558bb9 100644 --- a/sw/source/core/inc/DocumentContentOperationsManager.hxx +++ b/sw/source/core/inc/DocumentContentOperationsManager.hxx @@ -145,7 +145,7 @@ public: static bool lcl_RstTextAttr( const SwNodePtr& rpNd, void* pArgs ); //originally from docfmt.cxx - virtual ~DocumentContentOperationsManager(); + virtual ~DocumentContentOperationsManager() override; private: SwDoc& m_rDoc; diff --git a/sw/source/core/inc/DocumentDeviceManager.hxx b/sw/source/core/inc/DocumentDeviceManager.hxx index 20184b2c2359..1d5b48923541 100644 --- a/sw/source/core/inc/DocumentDeviceManager.hxx +++ b/sw/source/core/inc/DocumentDeviceManager.hxx @@ -59,7 +59,7 @@ public: void setPrintData(/*[in]*/ const SwPrintData& rPrtData ) override; - virtual ~DocumentDeviceManager(); + virtual ~DocumentDeviceManager() override; private: diff --git a/sw/source/core/inc/DocumentDrawModelManager.hxx b/sw/source/core/inc/DocumentDrawModelManager.hxx index 26a25574c7e3..a11cafc1f3ec 100644 --- a/sw/source/core/inc/DocumentDrawModelManager.hxx +++ b/sw/source/core/inc/DocumentDrawModelManager.hxx @@ -61,7 +61,7 @@ public: virtual bool Search(const SwPaM& rPaM, const SvxSearchItem& rSearchItem) override; - virtual ~DocumentDrawModelManager() {} + virtual ~DocumentDrawModelManager() override {} private: diff --git a/sw/source/core/inc/DocumentExternalDataManager.hxx b/sw/source/core/inc/DocumentExternalDataManager.hxx index c4198577e5be..c18543742cd0 100644 --- a/sw/source/core/inc/DocumentExternalDataManager.hxx +++ b/sw/source/core/inc/DocumentExternalDataManager.hxx @@ -38,7 +38,7 @@ public: void setExternalData( ::sw::tExternalDataType eType, ::sw::tExternalDataPointer pPayload) override; ::sw::tExternalDataPointer getExternalData(::sw::tExternalDataType eType) override; - virtual ~DocumentExternalDataManager() {}; + virtual ~DocumentExternalDataManager() override {}; }; } diff --git a/sw/source/core/inc/DocumentFieldsManager.hxx b/sw/source/core/inc/DocumentFieldsManager.hxx index fa8d7979a012..260cb8be77b5 100644 --- a/sw/source/core/inc/DocumentFieldsManager.hxx +++ b/sw/source/core/inc/DocumentFieldsManager.hxx @@ -86,7 +86,7 @@ public: void UpdateDBNumFields( SwDBNameInfField& rDBField, SwCalc& rCalc ); - virtual ~DocumentFieldsManager(); + virtual ~DocumentFieldsManager() override; private: diff --git a/sw/source/core/inc/DocumentLayoutManager.hxx b/sw/source/core/inc/DocumentLayoutManager.hxx index 624d868aced1..780ca1ff988e 100644 --- a/sw/source/core/inc/DocumentLayoutManager.hxx +++ b/sw/source/core/inc/DocumentLayoutManager.hxx @@ -54,7 +54,7 @@ public: //Non Interface methods void ClearSwLayouterEntries(); - virtual ~DocumentLayoutManager(); + virtual ~DocumentLayoutManager() override; private: diff --git a/sw/source/core/inc/DocumentLinksAdministrationManager.hxx b/sw/source/core/inc/DocumentLinksAdministrationManager.hxx index a2f015af673d..43dc9a91c1a1 100644 --- a/sw/source/core/inc/DocumentLinksAdministrationManager.hxx +++ b/sw/source/core/inc/DocumentLinksAdministrationManager.hxx @@ -62,7 +62,7 @@ public: //Non-Interface method bool SelectServerObj( const OUString& rStr, SwPaM*& rpPam, SwNodeRange*& rpRange ) const; - virtual ~DocumentLinksAdministrationManager(); + virtual ~DocumentLinksAdministrationManager() override; private: diff --git a/sw/source/core/inc/DocumentListItemsManager.hxx b/sw/source/core/inc/DocumentListItemsManager.hxx index 77b80ab26fb3..b4b3d3dc15d1 100644 --- a/sw/source/core/inc/DocumentListItemsManager.hxx +++ b/sw/source/core/inc/DocumentListItemsManager.hxx @@ -39,7 +39,7 @@ public: void getNumItems( IDocumentListItems::tSortedNodeNumList& orNodeNumList ) const override; - virtual ~DocumentListItemsManager(); + virtual ~DocumentListItemsManager() override; //Non Interface diff --git a/sw/source/core/inc/DocumentListsManager.hxx b/sw/source/core/inc/DocumentListsManager.hxx index 5ad855934265..6237a0e5d32b 100644 --- a/sw/source/core/inc/DocumentListsManager.hxx +++ b/sw/source/core/inc/DocumentListsManager.hxx @@ -48,7 +48,7 @@ class DocumentListsManager : public IDocumentListsAccess // #i91400# void trackChangeOfListStyleName( const OUString& rListStyleName, const OUString& rNewListStyleName ) override; - virtual ~DocumentListsManager(); + virtual ~DocumentListsManager() override; private: diff --git a/sw/source/core/inc/DocumentOutlineNodesManager.hxx b/sw/source/core/inc/DocumentOutlineNodesManager.hxx index 76dccf6998c3..cc47324fab65 100644 --- a/sw/source/core/inc/DocumentOutlineNodesManager.hxx +++ b/sw/source/core/inc/DocumentOutlineNodesManager.hxx @@ -45,7 +45,7 @@ public: SwTextNode* getOutlineNode( const sal_Int32 nIdx ) const override; void getOutlineNodes( IDocumentOutlineNodes::tSortedOutlineNodeList& orOutlineNodeList ) const override; - virtual ~DocumentOutlineNodesManager(); + virtual ~DocumentOutlineNodesManager() override; private: diff --git a/sw/source/core/inc/DocumentRedlineManager.hxx b/sw/source/core/inc/DocumentRedlineManager.hxx index 2cc61c9868d2..bdcd45c5fc67 100644 --- a/sw/source/core/inc/DocumentRedlineManager.hxx +++ b/sw/source/core/inc/DocumentRedlineManager.hxx @@ -119,7 +119,7 @@ public: void checkRedlining(RedlineFlags& _rReadlineMode); - virtual ~DocumentRedlineManager(); + virtual ~DocumentRedlineManager() override; private: diff --git a/sw/source/core/inc/DocumentSettingManager.hxx b/sw/source/core/inc/DocumentSettingManager.hxx index 4159f5adde0a..3f40a0a207ff 100644 --- a/sw/source/core/inc/DocumentSettingManager.hxx +++ b/sw/source/core/inc/DocumentSettingManager.hxx @@ -159,7 +159,7 @@ class DocumentSettingManager : public: DocumentSettingManager(SwDoc &rDoc); - virtual ~DocumentSettingManager(); + virtual ~DocumentSettingManager() override; // IDocumentSettingAccess virtual bool get(/*[in]*/ DocumentSettingId id) const override; diff --git a/sw/source/core/inc/DocumentStatisticsManager.hxx b/sw/source/core/inc/DocumentStatisticsManager.hxx index e79d24bb937a..0291afc032f5 100644 --- a/sw/source/core/inc/DocumentStatisticsManager.hxx +++ b/sw/source/core/inc/DocumentStatisticsManager.hxx @@ -41,7 +41,7 @@ public: const SwDocStat &GetUpdatedDocStat(bool bCompleteAsync, bool bFields) override; void SetDocStat(const SwDocStat& rStat) override; void UpdateDocStat(bool bCompleteAsync, bool bFields) override; - virtual ~DocumentStatisticsManager(); + virtual ~DocumentStatisticsManager() override; private: diff --git a/sw/source/core/inc/DocumentStylePoolManager.hxx b/sw/source/core/inc/DocumentStylePoolManager.hxx index b215295e4468..721ecba22c1e 100644 --- a/sw/source/core/inc/DocumentStylePoolManager.hxx +++ b/sw/source/core/inc/DocumentStylePoolManager.hxx @@ -43,7 +43,7 @@ public: virtual bool IsPoolFormatUsed( sal_uInt16 nId ) const override; virtual bool IsPoolPageDescUsed( sal_uInt16 nId ) const override; - virtual ~DocumentStylePoolManager(); + virtual ~DocumentStylePoolManager() override; private: diff --git a/sw/source/core/inc/DocumentTimerManager.hxx b/sw/source/core/inc/DocumentTimerManager.hxx index 762003d01036..cf6b580a2e69 100644 --- a/sw/source/core/inc/DocumentTimerManager.hxx +++ b/sw/source/core/inc/DocumentTimerManager.hxx @@ -50,7 +50,7 @@ public: // Our own 'IdleTimer' calls the following method DECL_LINK_TYPED( DoIdleJobs, Idle *, void ); - virtual ~DocumentTimerManager(); + virtual ~DocumentTimerManager() override; private: diff --git a/sw/source/core/inc/SwGrammarMarkUp.hxx b/sw/source/core/inc/SwGrammarMarkUp.hxx index eb2408ead2bf..032dc6d70e40 100644 --- a/sw/source/core/inc/SwGrammarMarkUp.hxx +++ b/sw/source/core/inc/SwGrammarMarkUp.hxx @@ -40,7 +40,7 @@ class SwGrammarMarkUp : public SwWrongList public: SwGrammarMarkUp() : SwWrongList( WRONGLIST_GRAMMAR ) {} - virtual ~SwGrammarMarkUp(); + virtual ~SwGrammarMarkUp() override; virtual SwWrongList* Clone() override; virtual void CopyFrom( const SwWrongList& rCopy ) override; diff --git a/sw/source/core/inc/SwUndoFmt.hxx b/sw/source/core/inc/SwUndoFmt.hxx index a5f588ce815a..c034829ad4b7 100644 --- a/sw/source/core/inc/SwUndoFmt.hxx +++ b/sw/source/core/inc/SwUndoFmt.hxx @@ -44,7 +44,7 @@ protected: public: SwUndoFormatCreate(SwUndoId nUndoId, SwFormat * pNew, SwFormat * pDerivedFrom, SwDoc * pDoc); - virtual ~SwUndoFormatCreate(); + virtual ~SwUndoFormatCreate() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -68,7 +68,7 @@ protected: public: SwUndoFormatDelete(SwUndoId nUndoId, SwFormat * pOld, SwDoc * pDoc); - virtual ~SwUndoFormatDelete(); + virtual ~SwUndoFormatDelete() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -90,7 +90,7 @@ public: SwUndoRenameFormat(SwUndoId nUndoId, const OUString & sOldName, const OUString & sNewName, SwDoc * pDoc); - virtual ~SwUndoRenameFormat(); + virtual ~SwUndoRenameFormat() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/SwUndoPageDesc.hxx b/sw/source/core/inc/SwUndoPageDesc.hxx index 34b2851904f5..a29777551855 100644 --- a/sw/source/core/inc/SwUndoPageDesc.hxx +++ b/sw/source/core/inc/SwUndoPageDesc.hxx @@ -38,7 +38,7 @@ class SwUndoPageDesc : public SwUndo public: SwUndoPageDesc(const SwPageDesc & aOld, const SwPageDesc & aNew, SwDoc * pDoc); - virtual ~SwUndoPageDesc(); + virtual ~SwUndoPageDesc() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -56,7 +56,7 @@ class SwUndoPageDescCreate : public SwUndo public: SwUndoPageDescCreate(const SwPageDesc * pNew, SwDoc * pDoc); - virtual ~SwUndoPageDescCreate(); + virtual ~SwUndoPageDescCreate() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -74,7 +74,7 @@ class SwUndoPageDescDelete : public SwUndo public: SwUndoPageDescDelete(const SwPageDesc & aOld, SwDoc * pDoc); - virtual ~SwUndoPageDescDelete(); + virtual ~SwUndoPageDescDelete() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/SwUndoTOXChange.hxx b/sw/source/core/inc/SwUndoTOXChange.hxx index c97b948c8001..d78b17e9b8bb 100644 --- a/sw/source/core/inc/SwUndoTOXChange.hxx +++ b/sw/source/core/inc/SwUndoTOXChange.hxx @@ -34,7 +34,7 @@ class SwUndoTOXChange : public SwUndo public: SwUndoTOXChange(const SwDoc* pDoc, SwTOXBase * pTOX, const SwTOXBase & rNew); - virtual ~SwUndoTOXChange(); + virtual ~SwUndoTOXChange() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/SwXMLBlockExport.hxx b/sw/source/core/inc/SwXMLBlockExport.hxx index 7c9b7a4f4787..020d44376886 100644 --- a/sw/source/core/inc/SwXMLBlockExport.hxx +++ b/sw/source/core/inc/SwXMLBlockExport.hxx @@ -36,7 +36,7 @@ public: const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler); - virtual ~SwXMLBlockListExport() {} + virtual ~SwXMLBlockListExport() override {} sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID ) override; void ExportAutoStyles_() override {} void ExportMasterStyles_ () override {} @@ -55,7 +55,7 @@ public: const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler); - virtual ~SwXMLTextBlockExport() {} + virtual ~SwXMLTextBlockExport() override {} sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum /*eClass*/) override {return 0;} void exportDoc(const OUString & rText); void ExportAutoStyles_() override {} diff --git a/sw/source/core/inc/SwXMLBlockImport.hxx b/sw/source/core/inc/SwXMLBlockImport.hxx index f15e8393803d..056b3feaa8a6 100644 --- a/sw/source/core/inc/SwXMLBlockImport.hxx +++ b/sw/source/core/inc/SwXMLBlockImport.hxx @@ -53,7 +53,7 @@ public: return rBlockList; } virtual ~SwXMLBlockListImport() - throw(); + throw() override; }; class SwXMLTextBlockImport : public SvXMLImport @@ -72,7 +72,7 @@ public: OUString &rNewText, bool bNewTextOnly ); virtual ~SwXMLTextBlockImport() - throw(); + throw() override; virtual void SAL_CALL endDocument() throw( css::xml::sax::SAXException, css::uno::RuntimeException, std::exception ) override; }; @@ -92,7 +92,7 @@ class SwXMLTextBlockTokenHandler : public { public: SwXMLTextBlockTokenHandler(); - virtual ~SwXMLTextBlockTokenHandler(); + virtual ~SwXMLTextBlockTokenHandler() override; //XFastTokenHandler sal_Int32 SAL_CALL getTokenFromUTF8( const css::uno::Sequence< sal_Int8 >& Identifier ) @@ -121,7 +121,7 @@ class SwXMLBlockListTokenHandler : public { public: SwXMLBlockListTokenHandler(); - virtual ~SwXMLBlockListTokenHandler(); + virtual ~SwXMLBlockListTokenHandler() override; //XFastTokenHandler sal_Int32 SAL_CALL getTokenFromUTF8( const css::uno::Sequence< sal_Int8 >& Identifier ) diff --git a/sw/source/core/inc/SwXMLTextBlocks.hxx b/sw/source/core/inc/SwXMLTextBlocks.hxx index 4f0c746b12a3..8cf9d80c0936 100644 --- a/sw/source/core/inc/SwXMLTextBlocks.hxx +++ b/sw/source/core/inc/SwXMLTextBlocks.hxx @@ -52,7 +52,7 @@ public: void AddName( const OUString&, const OUString&, const OUString&, bool bOnlyText ); virtual void AddName( const OUString&, const OUString&, bool bOnlyText = false ) override; static OUString GeneratePackageName ( const OUString& rShort ); - virtual ~SwXMLTextBlocks(); + virtual ~SwXMLTextBlocks() override; virtual sal_uLong Delete( sal_uInt16 ) override; virtual sal_uLong Rename( sal_uInt16, const OUString&, const OUString& ) override; virtual sal_uLong CopyBlock( SwImpBlocks& rImp, OUString& rShort, const OUString& rLong) override; diff --git a/sw/source/core/inc/SwXTextDefaults.hxx b/sw/source/core/inc/SwXTextDefaults.hxx index 4e6d768f895c..c0bee0532fbb 100644 --- a/sw/source/core/inc/SwXTextDefaults.hxx +++ b/sw/source/core/inc/SwXTextDefaults.hxx @@ -39,7 +39,7 @@ class SwXTextDefaults : public cppu::WeakImplHelper public: SwXTextDefaults ( SwDoc * pNewDoc ); - virtual ~SwXTextDefaults (); + virtual ~SwXTextDefaults () override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) diff --git a/sw/source/core/inc/UndoAttribute.hxx b/sw/source/core/inc/UndoAttribute.hxx index 69820b130e2f..d46f3d8a5d0d 100644 --- a/sw/source/core/inc/UndoAttribute.hxx +++ b/sw/source/core/inc/UndoAttribute.hxx @@ -49,7 +49,7 @@ public: SwUndoAttr( const SwPaM&, const SfxItemSet &, const SetAttrMode nFlags ); SwUndoAttr( const SwPaM&, const SfxPoolItem&, const SetAttrMode nFlags ); - virtual ~SwUndoAttr(); + virtual ~SwUndoAttr() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -70,7 +70,7 @@ public: SwUndoResetAttr( const SwPaM&, sal_uInt16 nFormatId ); SwUndoResetAttr( const SwPosition&, sal_uInt16 nFormatId ); - virtual ~SwUndoResetAttr(); + virtual ~SwUndoResetAttr() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -114,7 +114,7 @@ public: SwFormat& rFormat, bool bSaveDrawPt = true ); - virtual ~SwUndoFormatAttr(); + virtual ~SwUndoFormatAttr() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -132,7 +132,7 @@ class SwUndoFormatResetAttr : public SwUndo public: SwUndoFormatResetAttr( SwFormat& rChangedFormat, const sal_uInt16 nWhichId ); - virtual ~SwUndoFormatResetAttr(); + virtual ~SwUndoFormatResetAttr() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -183,7 +183,7 @@ class SwUndoMoveLeftMargin : public SwUndo, private SwUndRng public: SwUndoMoveLeftMargin( const SwPaM&, bool bRight, bool bModulus ); - virtual ~SwUndoMoveLeftMargin(); + virtual ~SwUndoMoveLeftMargin() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -202,7 +202,7 @@ public: // registers at the format and saves old attributes SwUndoDefaultAttr( const SfxItemSet& rOldSet, const SwDoc* pDoc ); - virtual ~SwUndoDefaultAttr(); + virtual ~SwUndoDefaultAttr() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -218,7 +218,7 @@ class SwUndoChangeFootNote : public SwUndo, private SwUndRng public: SwUndoChangeFootNote( const SwPaM& rRange, const OUString& rText, sal_uInt16 nNum, bool bIsEndNote ); - virtual ~SwUndoChangeFootNote(); + virtual ~SwUndoChangeFootNote() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -234,7 +234,7 @@ class SwUndoFootNoteInfo : public SwUndo public: SwUndoFootNoteInfo( const SwFootnoteInfo &rInfo, const SwDoc* pDoc ); - virtual ~SwUndoFootNoteInfo(); + virtual ~SwUndoFootNoteInfo() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -247,7 +247,7 @@ class SwUndoEndNoteInfo : public SwUndo public: SwUndoEndNoteInfo( const SwEndNoteInfo &rInfo, const SwDoc* pDoc ); - virtual ~SwUndoEndNoteInfo(); + virtual ~SwUndoEndNoteInfo() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoBookmark.hxx b/sw/source/core/inc/UndoBookmark.hxx index 6fd636351589..f5790bde1882 100644 --- a/sw/source/core/inc/UndoBookmark.hxx +++ b/sw/source/core/inc/UndoBookmark.hxx @@ -43,7 +43,7 @@ protected: void ResetInDoc( SwDoc* ); public: - virtual ~SwUndoBookmark(); + virtual ~SwUndoBookmark() override; /** Returns the rewriter for this undo object. @@ -85,7 +85,7 @@ class SwUndoRenameBookmark : public SwUndo public: SwUndoRenameBookmark( const OUString& rOldName, const OUString& rNewName, const SwDoc* pDoc ); - virtual ~SwUndoRenameBookmark(); + virtual ~SwUndoRenameBookmark() override; private: virtual SwRewriter GetRewriter() const override; diff --git a/sw/source/core/inc/UndoCore.hxx b/sw/source/core/inc/UndoCore.hxx index 279fbee62bff..fc1792f152ce 100644 --- a/sw/source/core/inc/UndoCore.hxx +++ b/sw/source/core/inc/UndoCore.hxx @@ -160,7 +160,7 @@ public: SwUndoFormatColl( const SwPaM&, SwFormatColl*, const bool bReset, const bool bResetListAttrs ); - virtual ~SwUndoFormatColl(); + virtual ~SwUndoFormatColl() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -202,7 +202,7 @@ class SwUndoSetFlyFormat : public SwUndo, public SwClient public: SwUndoSetFlyFormat( SwFrameFormat& rFlyFormat, SwFrameFormat& rNewFrameFormat ); - virtual ~SwUndoSetFlyFormat(); + virtual ~SwUndoSetFlyFormat() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoDelete.hxx b/sw/source/core/inc/UndoDelete.hxx index 18fb5224df35..2a0c9fc5ffef 100644 --- a/sw/source/core/inc/UndoDelete.hxx +++ b/sw/source/core/inc/UndoDelete.hxx @@ -67,7 +67,7 @@ public: SwPaM&, bool bFullPara = false, bool bCalledByTableCpy = false ); - virtual ~SwUndoDelete(); + virtual ~SwUndoDelete() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoDraw.hxx b/sw/source/core/inc/UndoDraw.hxx index a57340de88f2..05a46a45e540 100644 --- a/sw/source/core/inc/UndoDraw.hxx +++ b/sw/source/core/inc/UndoDraw.hxx @@ -41,7 +41,7 @@ class SwSdrUndo : public SwUndo public: SwSdrUndo( SdrUndoAction* , const SdrMarkList* pMarkList, const SwDoc* pDoc ); - virtual ~SwSdrUndo(); + virtual ~SwSdrUndo() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -58,7 +58,7 @@ class SwUndoDrawGroup : public SwUndo public: SwUndoDrawGroup( sal_uInt16 nCnt, const SwDoc* pDoc ); - virtual ~SwUndoDrawGroup(); + virtual ~SwUndoDrawGroup() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -87,7 +87,7 @@ class SwUndoDrawUnGroup : public SwUndo public: SwUndoDrawUnGroup( SdrObjGroup*, const SwDoc* pDoc ); - virtual ~SwUndoDrawUnGroup(); + virtual ~SwUndoDrawUnGroup() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -103,7 +103,7 @@ private: public: SwUndoDrawUnGroupConnectToLayout(const SwDoc* pDoc); - virtual ~SwUndoDrawUnGroupConnectToLayout(); + virtual ~SwUndoDrawUnGroupConnectToLayout() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -122,7 +122,7 @@ class SwUndoDrawDelete : public SwUndo public: SwUndoDrawDelete( sal_uInt16 nCnt, const SwDoc* pDoc ); - virtual ~SwUndoDrawDelete(); + virtual ~SwUndoDrawDelete() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoInsert.hxx b/sw/source/core/inc/UndoInsert.hxx index 32b9b947b3aa..453f8fd7ec79 100644 --- a/sw/source/core/inc/UndoInsert.hxx +++ b/sw/source/core/inc/UndoInsert.hxx @@ -63,7 +63,7 @@ public: const SwInsertFlags nInsertFlags, bool bWDelim = true ); SwUndoInsert( const SwNodeIndex& rNode ); - virtual ~SwUndoInsert(); + virtual ~SwUndoInsert() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -98,7 +98,7 @@ public: SwUndoReplace(SwPaM const& rPam, OUString const& rInsert, bool const bRegExp); - virtual ~SwUndoReplace(); + virtual ~SwUndoReplace() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -145,7 +145,7 @@ class SwUndoReRead : public SwUndo public: SwUndoReRead( const SwPaM& rPam, const SwGrfNode& pGrfNd ); - virtual ~SwUndoReRead(); + virtual ~SwUndoReRead() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -188,7 +188,7 @@ public: const OUString& rCharacterStyle, const bool bCpyBrd, const SwDoc* pDoc ); - virtual ~SwUndoInsertLabel(); + virtual ~SwUndoInsertLabel() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoNumbering.hxx b/sw/source/core/inc/UndoNumbering.hxx index 1adad5c14d5f..4997526d3fbd 100644 --- a/sw/source/core/inc/UndoNumbering.hxx +++ b/sw/source/core/inc/UndoNumbering.hxx @@ -41,7 +41,7 @@ public: SwUndoInsNum( const SwPosition& rPos, const SwNumRule& rRule, const OUString& rReplaceRule ); - virtual ~SwUndoInsNum(); + virtual ~SwUndoInsNum() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -70,7 +70,7 @@ class SwUndoDelNum : public SwUndo, private SwUndRng public: SwUndoDelNum( const SwPaM& rPam ); - virtual ~SwUndoDelNum(); + virtual ~SwUndoDelNum() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoOverwrite.hxx b/sw/source/core/inc/UndoOverwrite.hxx index 13f45216b877..9bd86d983e31 100644 --- a/sw/source/core/inc/UndoOverwrite.hxx +++ b/sw/source/core/inc/UndoOverwrite.hxx @@ -43,7 +43,7 @@ class SwUndoOverwrite: public SwUndo, private SwUndoSaveContent public: SwUndoOverwrite( SwDoc*, SwPosition&, sal_Unicode cIns ); - virtual ~SwUndoOverwrite(); + virtual ~SwUndoOverwrite() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -77,7 +77,7 @@ public: SwUndoTransliterate( const SwPaM& rPam, const utl::TransliterationWrapper& rTrans ); - virtual ~SwUndoTransliterate(); + virtual ~SwUndoTransliterate() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoRedline.hxx b/sw/source/core/inc/UndoRedline.hxx index 44059e7c6f73..bc7b72f8a385 100644 --- a/sw/source/core/inc/UndoRedline.hxx +++ b/sw/source/core/inc/UndoRedline.hxx @@ -41,7 +41,7 @@ protected: public: SwUndoRedline( SwUndoId nUserId, const SwPaM& rRange ); - virtual ~SwUndoRedline(); + virtual ~SwUndoRedline() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -80,7 +80,7 @@ class SwUndoRedlineSort : public SwUndoRedline public: SwUndoRedlineSort( const SwPaM& rRange, const SwSortOptions& rOpt ); - virtual ~SwUndoRedlineSort(); + virtual ~SwUndoRedlineSort() override; virtual void RepeatImpl( ::sw::RepeatContext & ) override; @@ -121,7 +121,7 @@ public: SwUndoCompDoc( const SwPaM& rRg, bool bIns ); SwUndoCompDoc( const SwRangeRedline& rRedl ); - virtual ~SwUndoCompDoc(); + virtual ~SwUndoCompDoc() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoSection.hxx b/sw/source/core/inc/UndoSection.hxx index 1cfbef5f3128..a3c3ea307233 100644 --- a/sw/source/core/inc/UndoSection.hxx +++ b/sw/source/core/inc/UndoSection.hxx @@ -50,7 +50,7 @@ public: SwUndoInsSection(SwPaM const&, SwSectionData const&, SfxItemSet const*const pSet, SwTOXBase const*const pTOXBase); - virtual ~SwUndoInsSection(); + virtual ~SwUndoInsSection() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoSort.hxx b/sw/source/core/inc/UndoSort.hxx index 21009070e2b6..8002999cbf9c 100644 --- a/sw/source/core/inc/UndoSort.hxx +++ b/sw/source/core/inc/UndoSort.hxx @@ -71,7 +71,7 @@ public: SwUndoSort( sal_uLong nStt, sal_uLong nEnd, const SwTableNode&, const SwSortOptions&, bool bSaveTable ); - virtual ~SwUndoSort(); + virtual ~SwUndoSort() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoSplitMove.hxx b/sw/source/core/inc/UndoSplitMove.hxx index cc13f1c60e63..de22f9e62aa3 100644 --- a/sw/source/core/inc/UndoSplitMove.hxx +++ b/sw/source/core/inc/UndoSplitMove.hxx @@ -35,7 +35,7 @@ class SwUndoSplitNode: public SwUndo public: SwUndoSplitNode( SwDoc* pDoc, const SwPosition& rPos, bool bChkTable ); - virtual ~SwUndoSplitNode(); + virtual ~SwUndoSplitNode() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/UndoTable.hxx b/sw/source/core/inc/UndoTable.hxx index e0ad12498011..bd72b5d36e14 100644 --- a/sw/source/core/inc/UndoTable.hxx +++ b/sw/source/core/inc/UndoTable.hxx @@ -62,7 +62,7 @@ public: const SwTableAutoFormat* pTAFormat, const std::vector<sal_uInt16> *pColArr, const OUString & rName); - virtual ~SwUndoInsTable(); + virtual ~SwUndoInsTable() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -87,7 +87,7 @@ public: sal_uInt16, const SwTableAutoFormat* pAFormat ); - virtual ~SwUndoTextToTable(); + virtual ~SwUndoTextToTable() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -112,7 +112,7 @@ class SwUndoTableToText : public SwUndo public: SwUndoTableToText( const SwTable& rTable, sal_Unicode cCh ); - virtual ~SwUndoTableToText(); + virtual ~SwUndoTableToText() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -132,7 +132,7 @@ class SwUndoAttrTable : public SwUndo public: SwUndoAttrTable( const SwTableNode& rTableNd, bool bClearTabCols = false ); - virtual ~SwUndoAttrTable(); + virtual ~SwUndoAttrTable() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -154,7 +154,7 @@ class SwUndoTableAutoFormat : public SwUndo public: SwUndoTableAutoFormat( const SwTableNode& rTableNd, const SwTableAutoFormat& ); - virtual ~SwUndoTableAutoFormat(); + virtual ~SwUndoTableAutoFormat() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -195,7 +195,7 @@ public: SwUndoTableNdsChg( SwUndoId UndoId, const SwSelBoxes& rBoxes, const SwTableNode& rTableNd ); - virtual ~SwUndoTableNdsChg(); + virtual ~SwUndoTableNdsChg() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -229,7 +229,7 @@ class SwUndoTableMerge : public SwUndo, private SwUndRng public: SwUndoTableMerge( const SwPaM& rTableSel ); - virtual ~SwUndoTableMerge(); + virtual ~SwUndoTableMerge() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -262,7 +262,7 @@ class SwUndoTableNumFormat : public SwUndo public: SwUndoTableNumFormat( const SwTableBox& rBox, const SfxItemSet* pNewSet = nullptr ); - virtual ~SwUndoTableNumFormat(); + virtual ~SwUndoTableNumFormat() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -287,7 +287,7 @@ class SwUndoTableCpyTable : public SwUndo public: SwUndoTableCpyTable(const SwDoc* pDoc); - virtual ~SwUndoTableCpyTable(); + virtual ~SwUndoTableCpyTable() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -308,7 +308,7 @@ class SwUndoCpyTable : public SwUndo public: SwUndoCpyTable(const SwDoc* pDoc); - virtual ~SwUndoCpyTable(); + virtual ~SwUndoCpyTable() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -329,7 +329,7 @@ public: SwUndoSplitTable( const SwTableNode& rTableNd, SwSaveRowSpan* pRowSp, sal_uInt16 nMode, bool bCalcNewSize ); - virtual ~SwUndoSplitTable(); + virtual ~SwUndoSplitTable() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -353,7 +353,7 @@ public: SwUndoMergeTable( const SwTableNode& rTableNd, const SwTableNode& rDelTableNd, bool bWithPrev, sal_uInt16 nMode ); - virtual ~SwUndoMergeTable(); + virtual ~SwUndoMergeTable() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -385,7 +385,7 @@ class SwUndoTableStyleMake : public SwUndo public: SwUndoTableStyleMake(const OUString& rName, const SwDoc* pDoc); - virtual ~SwUndoTableStyleMake(); + virtual ~SwUndoTableStyleMake() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -400,7 +400,7 @@ class SwUndoTableStyleDelete : public SwUndo public: SwUndoTableStyleDelete(std::unique_ptr<SwTableAutoFormat> pAutoFormat, const std::vector<SwTable*>& rAffectedTables, const SwDoc* pDoc); - virtual ~SwUndoTableStyleDelete(); + virtual ~SwUndoTableStyleDelete() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -414,7 +414,7 @@ class SwUndoTableStyleUpdate : public SwUndo public: SwUndoTableStyleUpdate(const OUString& rName, const SwTableAutoFormat& rOldFormat, const SwDoc* pDoc); - virtual ~SwUndoTableStyleUpdate(); + virtual ~SwUndoTableStyleUpdate() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx index 0b2606d81d0a..afbb1fdf8137 100644 --- a/sw/source/core/inc/acorrect.hxx +++ b/sw/source/core/inc/acorrect.hxx @@ -55,7 +55,7 @@ class SwAutoCorrDoc : public SvxAutoCorrDoc public: SwAutoCorrDoc( SwEditShell& rEditShell, SwPaM& rPam, sal_Unicode cIns = 0 ); - virtual ~SwAutoCorrDoc(); + virtual ~SwAutoCorrDoc() override; virtual bool Delete( sal_Int32 nStt, sal_Int32 nEnd ) override; virtual bool Insert( sal_Int32 nPos, const OUString& rText ) override; diff --git a/sw/source/core/inc/annotationmark.hxx b/sw/source/core/inc/annotationmark.hxx index 7bd4ad8b4a51..a6075ae26017 100644 --- a/sw/source/core/inc/annotationmark.hxx +++ b/sw/source/core/inc/annotationmark.hxx @@ -34,7 +34,7 @@ namespace sw { namespace mark const SwPaM& rPaM, const OUString& rName ); - virtual ~AnnotationMark(); + virtual ~AnnotationMark() override; virtual void InitDoc(SwDoc* const io_Doc) override; diff --git a/sw/source/core/inc/ascharanchoredobjectposition.hxx b/sw/source/core/inc/ascharanchoredobjectposition.hxx index 8923e2594d9c..c039e45b5c54 100644 --- a/sw/source/core/inc/ascharanchoredobjectposition.hxx +++ b/sw/source/core/inc/ascharanchoredobjectposition.hxx @@ -122,7 +122,7 @@ namespace objectpositioning const SwTwips _nLineDescent, const SwTwips _nLineAscentInclObjs, const SwTwips _nLineDescentInclObjs ); - virtual ~SwAsCharAnchoredObjectPosition(); + virtual ~SwAsCharAnchoredObjectPosition() override; /** calculate position for object position diff --git a/sw/source/core/inc/bookmrk.hxx b/sw/source/core/inc/bookmrk.hxx index ac5fae6a37db..8972d7d08945 100644 --- a/sw/source/core/inc/bookmrk.hxx +++ b/sw/source/core/inc/bookmrk.hxx @@ -99,7 +99,7 @@ namespace sw { { } - virtual ~MarkBase(); + virtual ~MarkBase() override; const css::uno::WeakReference< css::text::XTextContent> & GetXBookmark() const { return m_wXBookmark; } @@ -150,7 +150,7 @@ namespace sw { void SetRefObject( SwServerObject* pObj ); virtual void DeregisterFromDoc(SwDoc* const pDoc); - virtual ~DdeBookmark(); + virtual ~DdeBookmark() override; private: tools::SvRef<SwServerObject> m_aRefObj; diff --git a/sw/source/core/inc/cellfrm.hxx b/sw/source/core/inc/cellfrm.hxx index 8ddc89ffd404..763e90a8e61d 100644 --- a/sw/source/core/inc/cellfrm.hxx +++ b/sw/source/core/inc/cellfrm.hxx @@ -33,7 +33,7 @@ class SwCellFrame: public SwLayoutFrame const SwTableBox* m_pTabBox; virtual void DestroyImpl() override; - virtual ~SwCellFrame(); + virtual ~SwCellFrame() override; protected: virtual void Format( vcl::RenderContext* pRenderContext, const SwBorderAttrs *pAttrs = nullptr ) override; diff --git a/sw/source/core/inc/cntfrm.hxx b/sw/source/core/inc/cntfrm.hxx index f95046433017..ea2dba49861e 100644 --- a/sw/source/core/inc/cntfrm.hxx +++ b/sw/source/core/inc/cntfrm.hxx @@ -64,7 +64,7 @@ protected: SwContentFrame( SwContentNode * const, SwFrame* ); virtual void DestroyImpl() override; - virtual ~SwContentFrame(); + virtual ~SwContentFrame() override; public: diff --git a/sw/source/core/inc/colfrm.hxx b/sw/source/core/inc/colfrm.hxx index e54e6b9b757a..1a8e3fb20ba1 100644 --- a/sw/source/core/inc/colfrm.hxx +++ b/sw/source/core/inc/colfrm.hxx @@ -27,7 +27,7 @@ class SwColumnFrame: public SwFootnoteBossFrame { private: virtual void DestroyImpl() override; - virtual ~SwColumnFrame(); + virtual ~SwColumnFrame() override; public: SwColumnFrame( SwFrameFormat*, SwFrame* ); diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx index 4a8274db6a28..e62391d5b050 100644 --- a/sw/source/core/inc/dflyobj.hxx +++ b/sw/source/core/inc/dflyobj.hxx @@ -47,7 +47,7 @@ protected: public: SwFlyDrawObj(); - virtual ~SwFlyDrawObj(); + virtual ~SwFlyDrawObj() override; // for instantiation of this class while loading (via factory) virtual sal_uInt32 GetObjInventor() const override; @@ -79,7 +79,7 @@ public: SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrame* pFly); - virtual ~SwVirtFlyDrawObj(); + virtual ~SwVirtFlyDrawObj() override; // override method of base class SdrVirtObj virtual void TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const override; diff --git a/sw/source/core/inc/docsort.hxx b/sw/source/core/inc/docsort.hxx index 0ad74c3e6892..b0ac209ce774 100644 --- a/sw/source/core/inc/docsort.hxx +++ b/sw/source/core/inc/docsort.hxx @@ -96,7 +96,7 @@ struct SwSortTextElement : public SwSortElement SwNodeIndex aPos; SwSortTextElement( const SwNodeIndex& rPos ); - virtual ~SwSortTextElement(); + virtual ~SwSortTextElement() override; virtual OUString GetKey( sal_uInt16 nKey ) const override; }; @@ -107,7 +107,7 @@ struct SwSortBoxElement : public SwSortElement sal_uInt16 nRow; SwSortBoxElement( sal_uInt16 nRC ); - virtual ~SwSortBoxElement(); + virtual ~SwSortBoxElement() override; virtual OUString GetKey( sal_uInt16 nKey ) const override; virtual double GetValue( sal_uInt16 nKey ) const override; diff --git a/sw/source/core/inc/doctxm.hxx b/sw/source/core/inc/doctxm.hxx index cf7b52da7f11..1e7fc131fbae 100644 --- a/sw/source/core/inc/doctxm.hxx +++ b/sw/source/core/inc/doctxm.hxx @@ -70,7 +70,7 @@ class SwTOXBaseSection : public SwTOXBase, public SwSection public: SwTOXBaseSection(SwTOXBase const& rBase, SwSectionFormat & rFormat); - virtual ~SwTOXBaseSection(); + virtual ~SwTOXBaseSection() override; // <_bNewTOX> : distinguish between the creation of a new table-of-content // (true) or an update of a table-of-content (false) diff --git a/sw/source/core/inc/dumpfilter.hxx b/sw/source/core/inc/dumpfilter.hxx index 7b0acb1ba17b..a813db9b6244 100644 --- a/sw/source/core/inc/dumpfilter.hxx +++ b/sw/source/core/inc/dumpfilter.hxx @@ -35,7 +35,7 @@ namespace sw { public: LayoutDumpFilter(); - virtual ~LayoutDumpFilter(); + virtual ~LayoutDumpFilter() override; // XFilter virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx index 2470fd585c59..7c610cfc490c 100644 --- a/sw/source/core/inc/flyfrm.hxx +++ b/sw/source/core/inc/flyfrm.hxx @@ -129,7 +129,7 @@ protected: SwFlyFrame( SwFlyFrameFormat*, SwFrame*, SwFrame *pAnchor ); virtual void DestroyImpl() override; - virtual ~SwFlyFrame(); + virtual ~SwFlyFrame() override; /** method to assure that anchored object is registered at the correct page frame diff --git a/sw/source/core/inc/flyfrms.hxx b/sw/source/core/inc/flyfrms.hxx index fba851b632b4..ac7a6ca5ad84 100644 --- a/sw/source/core/inc/flyfrms.hxx +++ b/sw/source/core/inc/flyfrms.hxx @@ -63,7 +63,7 @@ protected: SwFlyFreeFrame( SwFlyFrameFormat*, SwFrame*, SwFrame *pAnchor ); virtual void DestroyImpl() override; - virtual ~SwFlyFreeFrame(); + virtual ~SwFlyFreeFrame() override; public: // #i28701# @@ -173,7 +173,7 @@ class SwFlyInContentFrame : public SwFlyFrame Point aRef; // relative to this point AbsPos is being calculated virtual void DestroyImpl() override; - virtual ~SwFlyInContentFrame(); + virtual ~SwFlyInContentFrame() override; protected: virtual void NotifyBackground( SwPageFrame *pPage, diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx index 33423b9eae4c..3ebd3d1711d7 100644 --- a/sw/source/core/inc/fntcache.hxx +++ b/sw/source/core/inc/fntcache.hxx @@ -85,7 +85,7 @@ public: SwFntObj( const SwSubFont &rFont, const void* pOwner, SwViewShell const *pSh ); - virtual ~SwFntObj(); + virtual ~SwFntObj() override; inline vcl::Font *GetScrFont() { return m_pScrFont; } inline vcl::Font& GetFont() { return m_aFont; } diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index e22ce6ce5bdd..ae4242fd8a2a 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -273,7 +273,7 @@ protected: void ColUnlock() { mbColLocked = false; } virtual void DestroyImpl(); - virtual ~SwFrame(); + virtual ~SwFrame() override; // Only used by SwRootFrame Ctor to get 'this' into mpRoot... void setRootFrame( SwRootFrame* pRoot ) { mpRoot = pRoot; } diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx index e5161a0dce27..9e8232e4ce2c 100644 --- a/sw/source/core/inc/frmtool.hxx +++ b/sw/source/core/inc/frmtool.hxx @@ -334,7 +334,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwBorderAttrs) SwBorderAttrs( const SwModify *pOwner, const SwFrame *pConstructor ); - virtual ~SwBorderAttrs(); + virtual ~SwBorderAttrs() override; inline const SwAttrSet &GetAttrSet() const { return m_rAttrSet; } inline const SvxULSpaceItem &GetULSpace() const { return m_rUL; } diff --git a/sw/source/core/inc/layfrm.hxx b/sw/source/core/inc/layfrm.hxx index 0554017ba969..1c7e3324ca43 100644 --- a/sw/source/core/inc/layfrm.hxx +++ b/sw/source/core/inc/layfrm.hxx @@ -49,7 +49,7 @@ class SwLayoutFrame: public SwFrame protected: virtual void DestroyImpl() override; - virtual ~SwLayoutFrame(); + virtual ~SwLayoutFrame() override; virtual void Format( vcl::RenderContext* pRenderContext, const SwBorderAttrs *pAttrs = nullptr ) override; virtual void MakeAll(vcl::RenderContext* pRenderContext) override; diff --git a/sw/source/core/inc/notxtfrm.hxx b/sw/source/core/inc/notxtfrm.hxx index 3d9a5bd97084..3a4861697fd7 100644 --- a/sw/source/core/inc/notxtfrm.hxx +++ b/sw/source/core/inc/notxtfrm.hxx @@ -38,7 +38,7 @@ class SwNoTextFrame: public SwContentFrame void PaintPicture( vcl::RenderContext*, const SwRect& ) const; virtual void DestroyImpl() override; - virtual ~SwNoTextFrame(); + virtual ~SwNoTextFrame() override; protected: virtual void MakeAll(vcl::RenderContext* pRenderContext) override; diff --git a/sw/source/core/inc/observablethread.hxx b/sw/source/core/inc/observablethread.hxx index 7a1f461cbbe1..22ded200ca23 100644 --- a/sw/source/core/inc/observablethread.hxx +++ b/sw/source/core/inc/observablethread.hxx @@ -41,7 +41,7 @@ class ObservableThread : public osl::Thread, { public: - virtual ~ObservableThread(); + virtual ~ObservableThread() override; void SetListener( std::weak_ptr< IFinishedThreadListener > const & pThreadListener, const oslInterlockedCount nThreadID ); diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx index caace3c3ad2a..54fed6384519 100644 --- a/sw/source/core/inc/pagefrm.hxx +++ b/sw/source/core/inc/pagefrm.hxx @@ -96,7 +96,7 @@ class SwPageFrame: public SwFootnoteBossFrame bool bRightSidebar ); virtual void DestroyImpl() override; - virtual ~SwPageFrame(); + virtual ~SwPageFrame() override; protected: virtual void MakeAll(vcl::RenderContext* pRenderContext) override; diff --git a/sw/source/core/inc/retrieveinputstream.hxx b/sw/source/core/inc/retrieveinputstream.hxx index 3e4e94af960b..9797df4f6f25 100644 --- a/sw/source/core/inc/retrieveinputstream.hxx +++ b/sw/source/core/inc/retrieveinputstream.hxx @@ -36,7 +36,7 @@ class SwAsyncRetrieveInputStreamThread : public ObservableThread const SwRetrievedInputStreamDataManager::tDataKey nDataKey, const OUString& rLinkedURL, const OUString& rReferer ); - virtual ~SwAsyncRetrieveInputStreamThread(); + virtual ~SwAsyncRetrieveInputStreamThread() override; protected: diff --git a/sw/source/core/inc/rolbck.hxx b/sw/source/core/inc/rolbck.hxx index 6de5252a301e..e8785dcec5e0 100644 --- a/sw/source/core/inc/rolbck.hxx +++ b/sw/source/core/inc/rolbck.hxx @@ -95,7 +95,7 @@ class SwHistorySetFormat : public SwHistoryHint public: SwHistorySetFormat( const SfxPoolItem* pFormatHt, sal_uLong nNode ); - virtual ~SwHistorySetFormat(); + virtual ~SwHistorySetFormat() override; virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) override; virtual OUString GetDescription() const override; @@ -123,7 +123,7 @@ class SwHistorySetText : public SwHistoryHint public: SwHistorySetText( SwTextAttr* pTextHt, sal_uLong nNode ); - virtual ~SwHistorySetText(); + virtual ~SwHistorySetText() override; virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) override; }; @@ -141,7 +141,7 @@ class SwHistorySetTextField : public SwHistoryHint public: SwHistorySetTextField( SwTextField* pTextField, sal_uLong nNode ); - virtual ~SwHistorySetTextField(); + virtual ~SwHistorySetTextField() override; virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) override; virtual OUString GetDescription() const override; @@ -206,7 +206,7 @@ class SwHistorySetFootnote : public SwHistoryHint public: SwHistorySetFootnote( SwTextFootnote* pTextFootnote, sal_uLong nNode ); SwHistorySetFootnote( const SwTextFootnote& ); - virtual ~SwHistorySetFootnote(); + virtual ~SwHistorySetFootnote() override; virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) override; virtual OUString GetDescription() const override; @@ -231,7 +231,7 @@ class SwHistoryTextFlyCnt : public SwHistoryHint public: SwHistoryTextFlyCnt( SwFrameFormat* const pFlyFormat ); - virtual ~SwHistoryTextFlyCnt(); + virtual ~SwHistoryTextFlyCnt() override; virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) override; SwUndoDelLayFormat* GetUDelLFormat() { return m_pUndo.get(); } diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx index 078a8380b29d..776ccf9596e7 100644 --- a/sw/source/core/inc/rootfrm.hxx +++ b/sw/source/core/inc/rootfrm.hxx @@ -160,7 +160,7 @@ class SwRootFrame: public SwLayoutFrame void RemoveFromList_( SwSectionFrame* pSct ); // Removes SectionFrames from the Delete List virtual void DestroyImpl() override; - virtual ~SwRootFrame(); + virtual ~SwRootFrame() override; protected: diff --git a/sw/source/core/inc/rowfrm.hxx b/sw/source/core/inc/rowfrm.hxx index da689b48f0df..84bb857c3fee 100644 --- a/sw/source/core/inc/rowfrm.hxx +++ b/sw/source/core/inc/rowfrm.hxx @@ -46,7 +46,7 @@ class SwRowFrame: public SwLayoutFrame bool m_bIsRowSpanLine; virtual void DestroyImpl() override; - virtual ~SwRowFrame(); + virtual ~SwRowFrame() override; protected: virtual void MakeAll(vcl::RenderContext* pRenderContext) override; diff --git a/sw/source/core/inc/sectfrm.hxx b/sw/source/core/inc/sectfrm.hxx index 7f73abe803d3..4c2b53ce494f 100644 --- a/sw/source/core/inc/sectfrm.hxx +++ b/sw/source/core/inc/sectfrm.hxx @@ -56,7 +56,7 @@ class SwSectionFrame: public SwLayoutFrame, public SwFlowFrame bool IsEndnoteAtMyEnd() const; virtual void DestroyImpl() override; - virtual ~SwSectionFrame(); + virtual ~SwSectionFrame() override; protected: virtual void MakeAll(vcl::RenderContext* pRenderContext) override; diff --git a/sw/source/core/inc/swfntcch.hxx b/sw/source/core/inc/swfntcch.hxx index 69338d5c3f86..19d50e3808a0 100644 --- a/sw/source/core/inc/swfntcch.hxx +++ b/sw/source/core/inc/swfntcch.hxx @@ -57,7 +57,7 @@ public: SwFontObj( const void* pOwner, SwViewShell *pSh ); - virtual ~SwFontObj(); + virtual ~SwFontObj() override; inline SwFont& GetFont() { return aSwFont; } inline const SwFont& GetFont() const { return aSwFont; } diff --git a/sw/source/core/inc/tabfrm.hxx b/sw/source/core/inc/tabfrm.hxx index 92da3687dba0..cc25ced948d0 100644 --- a/sw/source/core/inc/tabfrm.hxx +++ b/sw/source/core/inc/tabfrm.hxx @@ -102,7 +102,7 @@ class SwTabFrame: public SwLayoutFrame, public SwFlowFrame virtual bool ShouldBwdMoved( SwLayoutFrame *pNewUpper, bool bHead, bool &rReformat ) override; virtual void DestroyImpl() override; - virtual ~SwTabFrame(); + virtual ~SwTabFrame() override; protected: virtual void MakeAll(vcl::RenderContext* pRenderContext) override; diff --git a/sw/source/core/inc/textapi.hxx b/sw/source/core/inc/textapi.hxx index 8600e9b40034..cc9c8fdc3e0e 100644 --- a/sw/source/core/inc/textapi.hxx +++ b/sw/source/core/inc/textapi.hxx @@ -42,7 +42,7 @@ class SwTextAPIEditSource : public SvxEditSource public: SwTextAPIEditSource(SwDoc* pDoc); - virtual ~SwTextAPIEditSource(); + virtual ~SwTextAPIEditSource() override; void Dispose(); void SetText( OutlinerParaObject& rText ); @@ -56,7 +56,7 @@ class SwTextAPIObject : public SvxUnoText SwTextAPIEditSource* pSource; public: SwTextAPIObject( SwTextAPIEditSource* p); - virtual ~SwTextAPIObject() throw(); + virtual ~SwTextAPIObject() throw() override; void DisposeEditSource() { pSource->Dispose(); } OutlinerParaObject* CreateText() { return pSource->CreateText(); } void SetString( const OUString& rText ) { pSource->SetString( rText ); } diff --git a/sw/source/core/inc/threadlistener.hxx b/sw/source/core/inc/threadlistener.hxx index 0dd65310b539..0a9dcfec53af 100644 --- a/sw/source/core/inc/threadlistener.hxx +++ b/sw/source/core/inc/threadlistener.hxx @@ -39,7 +39,7 @@ class ThreadListener : public IFinishedThreadListener public: ThreadListener( ThreadManager& rThreadListenerOwner ); - virtual ~ThreadListener(); + virtual ~ThreadListener() override; void ListenToThread( const oslInterlockedCount nThreadID, ObservableThread& rThread ); diff --git a/sw/source/core/inc/tocntntanchoredobjectposition.hxx b/sw/source/core/inc/tocntntanchoredobjectposition.hxx index 85d0d617461e..2c7adadc5245 100644 --- a/sw/source/core/inc/tocntntanchoredobjectposition.hxx +++ b/sw/source/core/inc/tocntntanchoredobjectposition.hxx @@ -72,7 +72,7 @@ namespace objectpositioning public: SwToContentAnchoredObjectPosition( SdrObject& _rDrawObj ); - virtual ~SwToContentAnchoredObjectPosition(); + virtual ~SwToContentAnchoredObjectPosition() override; /** calculate position of object */ diff --git a/sw/source/core/inc/tolayoutanchoredobjectposition.hxx b/sw/source/core/inc/tolayoutanchoredobjectposition.hxx index 0ad7b00569a0..0edb5c217ccf 100644 --- a/sw/source/core/inc/tolayoutanchoredobjectposition.hxx +++ b/sw/source/core/inc/tolayoutanchoredobjectposition.hxx @@ -37,7 +37,7 @@ namespace objectpositioning public: SwToLayoutAnchoredObjectPosition( SdrObject& _rDrawObj ); - virtual ~SwToLayoutAnchoredObjectPosition(); + virtual ~SwToLayoutAnchoredObjectPosition() override; /** calculate position for object */ diff --git a/sw/source/core/inc/txmsrt.hxx b/sw/source/core/inc/txmsrt.hxx index 5ffcfeb31ee4..3da2eadecb7d 100644 --- a/sw/source/core/inc/txmsrt.hxx +++ b/sw/source/core/inc/txmsrt.hxx @@ -180,7 +180,7 @@ struct SwTOXIndex : public SwTOXSortTabBase SwTOXIndex( const SwTextNode&, const SwTextTOXMark*, sal_uInt16 nOptions, sal_uInt8 nKeyLevel, const SwTOXInternational& rIntl, const css::lang::Locale& rLocale ); - virtual ~SwTOXIndex() {} + virtual ~SwTOXIndex() override {} virtual void FillText( SwTextNode& rNd, const SwIndex& rInsPos, sal_uInt16 nAuthField ) const override; virtual sal_uInt16 GetLevel() const override; @@ -198,7 +198,7 @@ struct SwTOXCustom : public SwTOXSortTabBase SwTOXCustom( const TextAndReading& rKey, sal_uInt16 nLevel, const SwTOXInternational& rIntl, const css::lang::Locale& rLocale ); - virtual ~SwTOXCustom() {} + virtual ~SwTOXCustom() override {} virtual sal_uInt16 GetLevel() const override; virtual bool operator==( const SwTOXSortTabBase& ) override; @@ -218,7 +218,7 @@ struct SwTOXContent : public SwTOXSortTabBase { SwTOXContent( const SwTextNode&, const SwTextTOXMark*, const SwTOXInternational& rIntl ); - virtual ~SwTOXContent() {} + virtual ~SwTOXContent() override {} virtual void FillText( SwTextNode& rNd, const SwIndex& rInsPos, sal_uInt16 nAuthField ) const override; virtual sal_uInt16 GetLevel() const override; @@ -230,7 +230,7 @@ private: struct SwTOXPara : public SwTOXSortTabBase { SwTOXPara( const SwContentNode&, SwTOXElement, sal_uInt16 nLevel = FORM_ALPHA_DELIMITTER, const OUString& sSeqName = OUString() ); - virtual ~SwTOXPara() {} + virtual ~SwTOXPara() override {} void SetStartIndex(sal_Int32 nSet) { nStartIndex = nSet; } void SetEndIndex(sal_Int32 nSet) { nEndIndex = nSet; } @@ -252,7 +252,7 @@ private: struct SwTOXTable : public SwTOXSortTabBase { SwTOXTable( const SwContentNode& rNd ); - virtual ~SwTOXTable() {} + virtual ~SwTOXTable() override {} void SetLevel(sal_uInt16 nSet){nLevel = nSet;} @@ -274,7 +274,7 @@ private: public: SwTOXAuthority( const SwContentNode& rNd, SwFormatField& rField, const SwTOXInternational& rIntl ); - virtual ~SwTOXAuthority() {} + virtual ~SwTOXAuthority() override {} SwFormatField& GetFieldFormat() {return m_rField;} diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 487c740a6654..de0644306f99 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -199,7 +199,7 @@ class SwTextFrame: public SwContentFrame void CalcHeightOfLastLine( const bool _bUseFont = false ); virtual void DestroyImpl() override; - virtual ~SwTextFrame(); + virtual ~SwTextFrame() override; protected: virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) override; diff --git a/sw/source/core/inc/undoflystrattr.hxx b/sw/source/core/inc/undoflystrattr.hxx index 130a1f95779e..4110b91e6acf 100644 --- a/sw/source/core/inc/undoflystrattr.hxx +++ b/sw/source/core/inc/undoflystrattr.hxx @@ -31,7 +31,7 @@ class SwUndoFlyStrAttr : public SwUndo const SwUndoId eUndoId, const OUString& sOldStr, const OUString& sNewStr ); - virtual ~SwUndoFlyStrAttr(); + virtual ~SwUndoFlyStrAttr() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/inc/unobookmark.hxx b/sw/source/core/inc/unobookmark.hxx index 63efce276034..6bf1e4fc3f92 100644 --- a/sw/source/core/inc/unobookmark.hxx +++ b/sw/source/core/inc/unobookmark.hxx @@ -70,7 +70,7 @@ protected: void registerInMark( SwXBookmark& rXMark, ::sw::mark::IMark* const pMarkBase ); - virtual ~SwXBookmark(); + virtual ~SwXBookmark() override; /// @param pDoc and pMark != 0, but not & because of ImplInheritanceHelper SwXBookmark(::sw::mark::IMark *const pMark, SwDoc *const pDoc); diff --git a/sw/source/core/inc/unoevent.hxx b/sw/source/core/inc/unoevent.hxx index f0da67bc7afb..2224db7a9264 100644 --- a/sw/source/core/inc/unoevent.hxx +++ b/sw/source/core/inc/unoevent.hxx @@ -38,7 +38,7 @@ class SwHyperlinkEventDescriptor : public SvDetachedEventDescriptor virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; protected: - virtual ~SwHyperlinkEventDescriptor(); + virtual ~SwHyperlinkEventDescriptor() override; public: SwHyperlinkEventDescriptor(); @@ -66,7 +66,7 @@ public: SwFrameEventDescriptor( SwXTextGraphicObject& rGraphicRef ); SwFrameEventDescriptor( SwXTextEmbeddedObject& rObjectRef ); - virtual ~SwFrameEventDescriptor(); + virtual ~SwFrameEventDescriptor() override; virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; @@ -86,7 +86,7 @@ class SwFrameStyleEventDescriptor : public SvEventDescriptor public: SwFrameStyleEventDescriptor( sw::ICoreFrameStyle& rStyle ); - virtual ~SwFrameStyleEventDescriptor(); + virtual ~SwFrameStyleEventDescriptor() override; virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; diff --git a/sw/source/core/inc/unofield.hxx b/sw/source/core/inc/unofield.hxx index d2681138855a..9b9e8885f628 100644 --- a/sw/source/core/inc/unofield.hxx +++ b/sw/source/core/inc/unofield.hxx @@ -53,7 +53,7 @@ private: class Impl; ::sw::UnoImplPtr<Impl> m_pImpl; - virtual ~SwXFieldMaster(); + virtual ~SwXFieldMaster() override; SwXFieldMaster(SwFieldType& rType, SwDoc * pDoc); @@ -158,7 +158,7 @@ private: class Impl; ::sw::UnoImplPtr<Impl> m_pImpl; - virtual ~SwXTextField(); + virtual ~SwXTextField() override; SwXTextField(SwFormatField& rFormat, SwDoc & rDoc); @@ -281,7 +281,7 @@ private: class Impl; ::sw::UnoImplPtr<Impl> m_pImpl; - virtual ~SwXFieldEnumeration(); + virtual ~SwXFieldEnumeration() override; public: explicit SwXFieldEnumeration(SwDoc & rDoc); diff --git a/sw/source/core/inc/unoflatpara.hxx b/sw/source/core/inc/unoflatpara.hxx index 3c64fa1eb5eb..2751d2c4d58a 100644 --- a/sw/source/core/inc/unoflatpara.hxx +++ b/sw/source/core/inc/unoflatpara.hxx @@ -55,7 +55,7 @@ class SwXFlatParagraph { public: SwXFlatParagraph( SwTextNode& rTextNode, const OUString& aExpandText, const ModelToViewHelper& rConversionMap ); - virtual ~SwXFlatParagraph(); + virtual ~SwXFlatParagraph() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL @@ -143,7 +143,7 @@ class SwXFlatParagraphIterator: { public: SwXFlatParagraphIterator( SwDoc& rDoc, sal_Int32 nType, bool bAutomatic ); - virtual ~SwXFlatParagraphIterator(); + virtual ~SwXFlatParagraphIterator() override; // text::XFlatParagraphIterator: virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getFirstPara() throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/core/inc/unofootnote.hxx b/sw/source/core/inc/unofootnote.hxx index 4313a3128577..705c03cd737d 100644 --- a/sw/source/core/inc/unofootnote.hxx +++ b/sw/source/core/inc/unofootnote.hxx @@ -62,7 +62,7 @@ protected: virtual css::uno::Reference< css::text::XTextCursor > CreateCursor() throw (css::uno::RuntimeException) override; - virtual ~SwXFootnote(); + virtual ~SwXFootnote() override; SwXFootnote(SwDoc & rDoc, SwFormatFootnote & rFormat); SwXFootnote(const bool bEndnote); diff --git a/sw/source/core/inc/unoidx.hxx b/sw/source/core/inc/unoidx.hxx index 9b9eb4d252ee..0d1c474187cb 100644 --- a/sw/source/core/inc/unoidx.hxx +++ b/sw/source/core/inc/unoidx.hxx @@ -61,7 +61,7 @@ private: class Impl; ::sw::UnoImplPtr<Impl> m_pImpl; - virtual ~SwXDocumentIndex(); + virtual ~SwXDocumentIndex() override; SwXDocumentIndex(SwTOXBaseSection &, SwDoc &); @@ -196,7 +196,7 @@ private: class Impl; ::sw::UnoImplPtr<Impl> m_pImpl; - virtual ~SwXDocumentIndexMark(); + virtual ~SwXDocumentIndexMark() override; SwXDocumentIndexMark(SwDoc & rDoc, SwTOXType & rType, SwTOXMark & rMark); diff --git a/sw/source/core/inc/unometa.hxx b/sw/source/core/inc/unometa.hxx index bd9268f537ac..c360af0e8373 100644 --- a/sw/source/core/inc/unometa.hxx +++ b/sw/source/core/inc/unometa.hxx @@ -75,7 +75,7 @@ protected: throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); - virtual ~SwXMeta(); + virtual ~SwXMeta() override; SwXMeta(SwXMeta const&) = delete; SwXMeta& operator=(SwXMeta const&) = delete; @@ -224,7 +224,7 @@ class SwXMetaField private: - virtual ~SwXMetaField(); + virtual ~SwXMetaField() override; friend css::uno::Reference< css::rdf::XMetadatable > SwXMeta::CreateXMeta(::sw::Meta &, diff --git a/sw/source/core/inc/unoport.hxx b/sw/source/core/inc/unoport.hxx index 5a96789553a0..761f300a93a5 100644 --- a/sw/source/core/inc/unoport.hxx +++ b/sw/source/core/inc/unoport.hxx @@ -139,7 +139,7 @@ protected: const css::uno::Sequence< OUString >& rPropertyNames, bool bDirectValuesOnly ) throw (css::uno::RuntimeException, std::exception); - virtual ~SwXTextPortion(); + virtual ~SwXTextPortion() override; //SwClient virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override; @@ -241,7 +241,7 @@ class SwXTextPortionEnumeration {return *m_pUnoCursor;} protected: - virtual ~SwXTextPortionEnumeration(); + virtual ~SwXTextPortionEnumeration() override; public: SwXTextPortionEnumeration(SwPaM& rParaCursor, @@ -285,7 +285,7 @@ private: using SwXTextPortion::GetPropertyValue; - virtual ~SwXRedlinePortion(); + virtual ~SwXRedlinePortion() override; public: SwXRedlinePortion( diff --git a/sw/source/core/inc/unorefmark.hxx b/sw/source/core/inc/unorefmark.hxx index 724a6644f3c6..ff17eec13387 100644 --- a/sw/source/core/inc/unorefmark.hxx +++ b/sw/source/core/inc/unorefmark.hxx @@ -51,7 +51,7 @@ private: class Impl; ::sw::UnoImplPtr<Impl> m_pImpl; - virtual ~SwXReferenceMark(); + virtual ~SwXReferenceMark() override; SwXReferenceMark(SwDoc *const pDoc, SwFormatRefMark *const pMark); diff --git a/sw/source/core/inc/unosection.hxx b/sw/source/core/inc/unosection.hxx index 1da13549b655..8d4093304b41 100644 --- a/sw/source/core/inc/unosection.hxx +++ b/sw/source/core/inc/unosection.hxx @@ -61,7 +61,7 @@ private: SwXTextSection(SwSectionFormat *const pFormat, const bool bIndexHeader = false); - virtual ~SwXTextSection(); + virtual ~SwXTextSection() override; public: diff --git a/sw/source/core/inc/unotextmarkup.hxx b/sw/source/core/inc/unotextmarkup.hxx index 2f94f8d13ebe..249936de0943 100644 --- a/sw/source/core/inc/unotextmarkup.hxx +++ b/sw/source/core/inc/unotextmarkup.hxx @@ -52,7 +52,7 @@ class SwXTextMarkup public: SwXTextMarkup(SwTextNode *const rTextNode, const ModelToViewHelper& rConversionMap); - virtual ~SwXTextMarkup(); + virtual ~SwXTextMarkup() override; // css::text::XTextMarkup: virtual css::uno::Reference< css::container::XStringKeyMap > SAL_CALL getMarkupInfoContainer() throw (css::uno::RuntimeException, std::exception) override; @@ -100,7 +100,7 @@ private: SwXStringKeyMap(SwXStringKeyMap &) = delete; void operator =(SwXStringKeyMap &) = delete; - virtual ~SwXStringKeyMap() {} + virtual ~SwXStringKeyMap() override {} std::map< OUString, css::uno::Any > maMap; }; diff --git a/sw/source/core/inc/visiturl.hxx b/sw/source/core/inc/visiturl.hxx index f9647fbcaf8c..54f051247a60 100644 --- a/sw/source/core/inc/visiturl.hxx +++ b/sw/source/core/inc/visiturl.hxx @@ -29,7 +29,7 @@ class SwURLStateChanged : public SfxListener SwDoc* pDoc; public: SwURLStateChanged( SwDoc* pD ); - virtual ~SwURLStateChanged(); + virtual ~SwURLStateChanged() override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; }; |