diff options
Diffstat (limited to 'sw/source/core')
133 files changed, 224 insertions, 224 deletions
diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx index dd7e839622a0..ab95afdeb1c6 100644 --- a/sw/source/core/access/acccell.hxx +++ b/sw/source/core/access/acccell.hxx @@ -51,7 +51,7 @@ protected: virtual void InvalidateCursorPos_() override; - virtual ~SwAccessibleCell(); + virtual ~SwAccessibleCell() override; public: SwAccessibleCell( SwAccessibleMap* pInitMap, const SwCellFrame *pCellFrame ); diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx index c41e9ccb0d74..31ed088111e4 100644 --- a/sw/source/core/access/acccontext.hxx +++ b/sw/source/core/access/acccontext.hxx @@ -189,7 +189,7 @@ protected: } void RemoveFrameFromAccessibleMap(); - virtual ~SwAccessibleContext(); + virtual ~SwAccessibleContext() override; public: SwAccessibleContext( SwAccessibleMap *m_pMap, sal_Int16 nRole, diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx index fc507b62041e..9160075c5823 100644 --- a/sw/source/core/access/accdoc.hxx +++ b/sw/source/core/access/accdoc.hxx @@ -40,7 +40,7 @@ class SwAccessibleDocumentBase : public SwAccessibleContext using SwAccessibleFrame::SetVisArea; protected: - virtual ~SwAccessibleDocumentBase(); + virtual ~SwAccessibleDocumentBase() override; public: SwAccessibleDocumentBase( SwAccessibleMap* pInitMap ); @@ -117,7 +117,7 @@ protected: // This derived class additionally sets MULTISELECTABLE(1) virtual void GetStates( ::utl::AccessibleStateSetHelper& rStateSet ) override; - virtual ~SwAccessibleDocument(); + virtual ~SwAccessibleDocument() override; public: SwAccessibleDocument( SwAccessibleMap* pInitMap ); diff --git a/sw/source/core/access/accembedded.hxx b/sw/source/core/access/accembedded.hxx index 3141ff580fa4..76792b649c5c 100644 --- a/sw/source/core/access/accembedded.hxx +++ b/sw/source/core/access/accembedded.hxx @@ -29,7 +29,7 @@ class SwAccessibleEmbeddedObject : public SwAccessibleNoTextFrame { protected: - virtual ~SwAccessibleEmbeddedObject(); + virtual ~SwAccessibleEmbeddedObject() override; public: SwAccessibleEmbeddedObject( SwAccessibleMap* pInitMap, diff --git a/sw/source/core/access/accfootnote.hxx b/sw/source/core/access/accfootnote.hxx index 1c715dc305b7..12ff3e70e8de 100644 --- a/sw/source/core/access/accfootnote.hxx +++ b/sw/source/core/access/accfootnote.hxx @@ -29,7 +29,7 @@ class SwFootnoteFrame; class SwAccessibleFootnote : public SwAccessibleContext { protected: - virtual ~SwAccessibleFootnote(); + virtual ~SwAccessibleFootnote() override; public: SwAccessibleFootnote( SwAccessibleMap* pInitMap, diff --git a/sw/source/core/access/accframebase.hxx b/sw/source/core/access/accframebase.hxx index 8753b0fc4818..6809fb0d4e7a 100644 --- a/sw/source/core/access/accframebase.hxx +++ b/sw/source/core/access/accframebase.hxx @@ -44,7 +44,7 @@ protected: virtual void InvalidateCursorPos_() override; virtual void InvalidateFocus_() override; - virtual ~SwAccessibleFrameBase(); + virtual ~SwAccessibleFrameBase() override; virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override; public: diff --git a/sw/source/core/access/accgraphic.hxx b/sw/source/core/access/accgraphic.hxx index 44bac5c5e764..754604d25511 100644 --- a/sw/source/core/access/accgraphic.hxx +++ b/sw/source/core/access/accgraphic.hxx @@ -25,7 +25,7 @@ class SwAccessibleGraphic : public SwAccessibleNoTextFrame { protected: - virtual ~SwAccessibleGraphic(); + virtual ~SwAccessibleGraphic() override; public: SwAccessibleGraphic( SwAccessibleMap* pInitMap, diff --git a/sw/source/core/access/accheaderfooter.hxx b/sw/source/core/access/accheaderfooter.hxx index b3fe7aeb2796..fded39e7d55a 100644 --- a/sw/source/core/access/accheaderfooter.hxx +++ b/sw/source/core/access/accheaderfooter.hxx @@ -28,7 +28,7 @@ class SwFooterFrame; class SwAccessibleHeaderFooter : public SwAccessibleContext { protected: - virtual ~SwAccessibleHeaderFooter(); + virtual ~SwAccessibleHeaderFooter() override; public: SwAccessibleHeaderFooter( SwAccessibleMap* pInitMap, diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 24a71491b25b..7a4273993d52 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -124,7 +124,7 @@ class SwDrawModellListener_Impl : public SfxListener, ::comphelper::OInterfaceContainerHelper2 maEventListeners; SdrModel *mpDrawModel; protected: - virtual ~SwDrawModellListener_Impl(); + virtual ~SwDrawModellListener_Impl() override; public: explicit SwDrawModellListener_Impl( SdrModel *pDrawModel ); diff --git a/sw/source/core/access/accnotextframe.hxx b/sw/source/core/access/accnotextframe.hxx index 75ee924e6668..d4b35287c9cd 100644 --- a/sw/source/core/access/accnotextframe.hxx +++ b/sw/source/core/access/accnotextframe.hxx @@ -44,7 +44,7 @@ class SwAccessibleNoTextFrame : public SwAccessibleFrameBase, OUString msDesc; protected: - virtual ~SwAccessibleNoTextFrame(); + virtual ~SwAccessibleNoTextFrame() override; const SwNoTextNode *GetNoTextNode() const; diff --git a/sw/source/core/access/accpage.hxx b/sw/source/core/access/accpage.hxx index f9176f5d9c32..ed6e25cbd3f4 100644 --- a/sw/source/core/access/accpage.hxx +++ b/sw/source/core/access/accpage.hxx @@ -46,7 +46,7 @@ protected: virtual void InvalidateCursorPos_() override; virtual void InvalidateFocus_() override; - virtual ~SwAccessiblePage(); + virtual ~SwAccessiblePage() override; public: // convenience constructor to avoid typecast; diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx index 979a5a595074..4843175108a6 100644 --- a/sw/source/core/access/accpara.hxx +++ b/sw/source/core/access/accpara.hxx @@ -176,7 +176,7 @@ protected: virtual void InvalidateCursorPos_() override; virtual void InvalidateFocus_() override; - virtual ~SwAccessibleParagraph(); + virtual ~SwAccessibleParagraph() override; // handling of data for the text portions diff --git a/sw/source/core/access/accportions.hxx b/sw/source/core/access/accportions.hxx index 18e857ed9d23..c00d2f2ddc93 100644 --- a/sw/source/core/access/accportions.hxx +++ b/sw/source/core/access/accportions.hxx @@ -94,7 +94,7 @@ class SwAccessiblePortionData : public SwPortionHandler public: SwAccessiblePortionData( const SwTextNode* pTextNd, const SwViewOption* pViewOpt = nullptr ); - virtual ~SwAccessiblePortionData(); + virtual ~SwAccessiblePortionData() override; // SwPortionHandler methods virtual void Text(sal_Int32 nLength, sal_uInt16 nType, sal_Int32 nHeight = 0, sal_Int32 nWidth = 0) override; diff --git a/sw/source/core/access/accpreview.hxx b/sw/source/core/access/accpreview.hxx index 400a3e839be6..ad807fbc7ac7 100644 --- a/sw/source/core/access/accpreview.hxx +++ b/sw/source/core/access/accpreview.hxx @@ -32,7 +32,7 @@ */ class SwAccessiblePreview : public SwAccessibleDocumentBase { - virtual ~SwAccessiblePreview(); + virtual ~SwAccessiblePreview() override; public: SwAccessiblePreview( SwAccessibleMap *pMap ); diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx index 966eb7043aea..73c3b2a121a7 100644 --- a/sw/source/core/access/acctable.hxx +++ b/sw/source/core/access/acctable.hxx @@ -61,7 +61,7 @@ protected: // This derived class additionally sets MULTISELECTABLE(+) virtual void GetStates( ::utl::AccessibleStateSetHelper& rStateSet ) override; - virtual ~SwAccessibleTable(); + virtual ~SwAccessibleTable() override; // #i77106# inline void SetDesc( const OUString& sNewDesc ) @@ -285,7 +285,7 @@ inline SwAccessibleTableData_Impl& SwAccessibleTable::GetTableData() class SwAccessibleTableColHeaders : public SwAccessibleTable { protected: - virtual ~SwAccessibleTableColHeaders() + virtual ~SwAccessibleTableColHeaders() override {} virtual SwAccessibleTableData_Impl* CreateNewTableData() override; diff --git a/sw/source/core/access/acctextframe.hxx b/sw/source/core/access/acctextframe.hxx index f5420c979753..bfe74eeb0038 100644 --- a/sw/source/core/access/acctextframe.hxx +++ b/sw/source/core/access/acctextframe.hxx @@ -39,7 +39,7 @@ private: OUString msDesc; protected: - virtual ~SwAccessibleTextFrame(); + virtual ~SwAccessibleTextFrame() override; virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override; public: diff --git a/sw/source/core/crsr/overlayrangesoutline.hxx b/sw/source/core/crsr/overlayrangesoutline.hxx index 0584df449b13..63cff0e07c7a 100644 --- a/sw/source/core/crsr/overlayrangesoutline.hxx +++ b/sw/source/core/crsr/overlayrangesoutline.hxx @@ -42,7 +42,7 @@ namespace sw const Color& rColor, const std::vector< basegfx::B2DRange >& rRanges ); - virtual ~OverlayRangesOutline(); + virtual ~OverlayRangesOutline() override; // data read access inline const std::vector< basegfx::B2DRange >& getRanges() const diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index d51b87a7cbb7..fafb771ab490 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -170,7 +170,7 @@ namespace RestoreUnoCursors(aUpdater); RestoreShellCursors(aUpdater); } - virtual ~ContentIdxStoreImpl(){}; + virtual ~ContentIdxStoreImpl() override {}; private: inline void SaveBkmks(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nContent); inline void RestoreBkmks(SwDoc* pDoc, updater_t& rUpdater); diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx index 9bd4f5834771..969e6ade76b2 100644 --- a/sw/source/core/doc/acmplwrd.cxx +++ b/sw/source/core/doc/acmplwrd.cxx @@ -50,7 +50,7 @@ class SwAutoCompleteClient : public SwClient public: SwAutoCompleteClient(SwAutoCompleteWord& rToTell, SwDoc& rSwDoc); SwAutoCompleteClient(const SwAutoCompleteClient& rClient); - virtual ~SwAutoCompleteClient(); + virtual ~SwAutoCompleteClient() override; SwAutoCompleteClient& operator=(const SwAutoCompleteClient& rClient); @@ -86,7 +86,7 @@ class SwAutoCompleteString public: SwAutoCompleteString(const OUString& rStr, sal_Int32 nLen); - virtual ~SwAutoCompleteString(); + virtual ~SwAutoCompleteString() override; void AddDocument(const SwDoc& rDoc); //returns true if last document reference has been removed bool RemoveDocument(const SwDoc& rDoc); diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 432b8ed9074c..5e8671413427 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -844,7 +844,7 @@ namespace sw { namespace mark std::shared_ptr<IMark> const& pMark, SwDoc *const pDoc) : m_pFieldmark(pMark), m_pDoc(pDoc) { } - virtual ~LazyFieldmarkDeleter() + virtual ~LazyFieldmarkDeleter() override { Fieldmark *const pFieldMark( dynamic_cast<Fieldmark*>(m_pFieldmark.get())); diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index eeab46f4b9e6..ebe4e58ef9bc 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -286,7 +286,7 @@ private: public: WordArrayComparator( const SwTextNode *pNode1, const SwTextNode *pNode2 ); - virtual ~WordArrayComparator(); + virtual ~WordArrayComparator() override; virtual bool Compare( int nIdx1, int nIdx2 ) const override; virtual int GetLen1() const override { return nCnt1; } diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index 459584709fff..262bd807a594 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -1086,7 +1086,7 @@ namespace numfunc } SwDefBulletConfig(); - virtual ~SwDefBulletConfig(); + virtual ~SwDefBulletConfig() override; private: /** sets internal default bullet configuration data to default values */ diff --git a/sw/source/core/doc/swstylemanager.cxx b/sw/source/core/doc/swstylemanager.cxx index a4fbc5c0c9ec..4a98fbc9c4be 100644 --- a/sw/source/core/doc/swstylemanager.cxx +++ b/sw/source/core/doc/swstylemanager.cxx @@ -69,7 +69,7 @@ public: mpCharCache(nullptr), mpParaCache(nullptr) {} - virtual ~SwStyleManager(); + virtual ~SwStyleManager() override; virtual std::shared_ptr<SfxItemSet> getAutomaticStyle( const SfxItemSet& rSet, IStyleAccess::SwAutoStyleFamily eFamily ) override; virtual std::shared_ptr<SfxItemSet> getByName( const OUString& rName, diff --git a/sw/source/core/docnode/cancellablejob.hxx b/sw/source/core/docnode/cancellablejob.hxx index dabde55257e3..518e31e4a7b2 100644 --- a/sw/source/core/docnode/cancellablejob.hxx +++ b/sw/source/core/docnode/cancellablejob.hxx @@ -32,7 +32,7 @@ class CancellableJob : public ::cppu::WeakImplHelper<css::util::XCancellable> { public: explicit CancellableJob( const ::rtl::Reference< ObservableThread >& rThread ); - virtual ~CancellableJob() {} + virtual ~CancellableJob() override {} // css::util::XCancellable: virtual void SAL_CALL cancel() throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/core/docnode/finalthreadmanager.cxx b/sw/source/core/docnode/finalthreadmanager.cxx index 6a8363688472..1cbeffce6859 100644 --- a/sw/source/core/docnode/finalthreadmanager.cxx +++ b/sw/source/core/docnode/finalthreadmanager.cxx @@ -45,7 +45,7 @@ class CancelJobsThread : public osl::Thread { } - virtual ~CancelJobsThread() {} + virtual ~CancelJobsThread() override {} void addJobs( std::list< css::uno::Reference< css::util::XCancellable > >& rJobs ); bool allJobsCancelled() const; @@ -160,7 +160,7 @@ class TerminateOfficeThread : public osl::Thread { } - virtual ~TerminateOfficeThread() {} + virtual ~TerminateOfficeThread() override {} void StopOfficeTermination(); private: diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 6c60a8bb5d27..5540cc2d19ab 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -2003,7 +2003,7 @@ namespace sdr { } - virtual ~VOCOfDrawVirtObj(); + virtual ~VOCOfDrawVirtObj() override; }; class VCOfDrawVirtObj : public ViewContactOfVirtObj @@ -2022,7 +2022,7 @@ namespace sdr : ViewContactOfVirtObj(rObj) { } - virtual ~VCOfDrawVirtObj(); + virtual ~VCOfDrawVirtObj() override; /// access to SwDrawVirtObj SwDrawVirtObj& GetSwDrawVirtObj() const diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index c29955a02006..abebce508486 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -92,7 +92,7 @@ namespace sdr : ViewContactOfSdrObj(rObj) { } - virtual ~VCOfSwFlyDrawObj(); + virtual ~VCOfSwFlyDrawObj() override; }; drawinglayer::primitive2d::Primitive2DContainer VCOfSwFlyDrawObj::createViewIndependentPrimitive2DSequence() const @@ -271,7 +271,7 @@ namespace sdr : ViewContactOfVirtObj(rObj) { } - virtual ~VCOfSwVirtFlyDrawObj(); + virtual ~VCOfSwVirtFlyDrawObj() override; /// access to SwVirtFlyDrawObj SwVirtFlyDrawObj& GetSwVirtFlyDrawObj() const 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; }; diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx index 74c1a3d24cab..612555369e92 100644 --- a/sw/source/core/layout/dbg_lay.cxx +++ b/sw/source/core/layout/dbg_lay.cxx @@ -177,7 +177,7 @@ class SwSizeEnterLeave : public SwImplEnterLeave public: SwSizeEnterLeave( const SwFrame* pF, PROT nFunct, DbgAction nAct, void* pPar ) : SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrameHeight( pF->Frame().Height() ) {} - virtual ~SwSizeEnterLeave() {} + virtual ~SwSizeEnterLeave() override {} virtual void Leave() override; // resize message }; @@ -187,7 +187,7 @@ class SwUpperEnterLeave : public SwImplEnterLeave public: SwUpperEnterLeave( const SwFrame* pF, PROT nFunct, DbgAction nAct, void* pPar ) : SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrameId( 0 ) {} - virtual ~SwUpperEnterLeave() {} + virtual ~SwUpperEnterLeave() override {} virtual void Enter() override; // message virtual void Leave() override; // message of FrameId from upper }; @@ -198,7 +198,7 @@ class SwFrameChangesLeave : public SwImplEnterLeave public: SwFrameChangesLeave( const SwFrame* pF, PROT nFunct, DbgAction nAct, void* pPar ) : SwImplEnterLeave( pF, nFunct, nAct, pPar ), aFrame( pF->Frame() ) {} - virtual ~SwFrameChangesLeave() {} + virtual ~SwFrameChangesLeave() override {} virtual void Enter() override; // no message virtual void Leave() override; // message when resizing the Frame area }; diff --git a/sw/source/core/layout/objectformatterlayfrm.hxx b/sw/source/core/layout/objectformatterlayfrm.hxx index 2a21278e65a4..31a605a31f96 100644 --- a/sw/source/core/layout/objectformatterlayfrm.hxx +++ b/sw/source/core/layout/objectformatterlayfrm.hxx @@ -51,7 +51,7 @@ class SwObjectFormatterLayFrame : public SwObjectFormatter virtual SwFrame& GetAnchorFrame() override; public: - virtual ~SwObjectFormatterLayFrame(); + virtual ~SwObjectFormatterLayFrame() override; // #i40147# - add parameter <_bCheckForMovedFwd>. // Not relevant for objects anchored at layout frame. diff --git a/sw/source/core/layout/objectformattertxtfrm.hxx b/sw/source/core/layout/objectformattertxtfrm.hxx index fd9d8a7fa042..e502ddbba1d2 100644 --- a/sw/source/core/layout/objectformattertxtfrm.hxx +++ b/sw/source/core/layout/objectformattertxtfrm.hxx @@ -114,7 +114,7 @@ class SwObjectFormatterTextFrame : public SwObjectFormatter virtual SwFrame& GetAnchorFrame() override; public: - virtual ~SwObjectFormatterTextFrame(); + virtual ~SwObjectFormatterTextFrame() override; // #i40147# - add parameter <_bCheckForMovedFwd>. virtual bool DoFormatObj( SwAnchoredObject& _rAnchoredObj, diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 73f68bd7de49..27ee591a6c51 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -3127,7 +3127,7 @@ namespace : mrViewShell( rSh ) {}; - virtual ~SwViewObjectContactRedirector() + virtual ~SwViewObjectContactRedirector() override {} virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence( diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index 6f94d013fdd1..5f7d71756566 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -155,7 +155,7 @@ class SwEmbedObjectLink : public sfx2::SvBaseLink public: explicit SwEmbedObjectLink(SwOLENode* pNode); - virtual ~SwEmbedObjectLink(); + virtual ~SwEmbedObjectLink() override; virtual void Closed() override; virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( diff --git a/sw/source/core/swg/SwXMLBlockImport.cxx b/sw/source/core/swg/SwXMLBlockImport.cxx index dc91f13ba594..b05d364ff4ea 100644 --- a/sw/source/core/swg/SwXMLBlockImport.cxx +++ b/sw/source/core/swg/SwXMLBlockImport.cxx @@ -51,7 +51,7 @@ private: public: SwXMLBlockListContext( SwXMLBlockListImport& rImport, sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); - virtual ~SwXMLBlockListContext(); + virtual ~SwXMLBlockListContext() override; virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) @@ -63,7 +63,7 @@ class SwXMLBlockContext : public SvXMLImportContext public: SwXMLBlockContext( SwXMLBlockListImport& rImport, sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); - virtual ~SwXMLBlockContext(); + virtual ~SwXMLBlockContext() override; }; class SwXMLTextBlockDocumentContext : public SvXMLImportContext @@ -79,7 +79,7 @@ public: sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - virtual ~SwXMLTextBlockDocumentContext(); + virtual ~SwXMLTextBlockDocumentContext() override; }; class SwXMLTextBlockBodyContext : public SvXMLImportContext @@ -95,7 +95,7 @@ public: sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - virtual ~SwXMLTextBlockBodyContext(); + virtual ~SwXMLTextBlockBodyContext() override; }; class SwXMLTextBlockTextContext : public SvXMLImportContext @@ -112,7 +112,7 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - virtual ~SwXMLTextBlockTextContext(); + virtual ~SwXMLTextBlockTextContext() override; }; class SwXMLTextBlockParContext : public SvXMLImportContext @@ -127,7 +127,7 @@ public: virtual void SAL_CALL characters( const OUString & aChars ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - virtual ~SwXMLTextBlockParContext(); + virtual ~SwXMLTextBlockParContext() override; }; SwXMLTextBlockTokenHandler::SwXMLTextBlockTokenHandler() diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx index 2320b3ef3973..71e3ecddfa05 100644 --- a/sw/source/core/text/itrform2.hxx +++ b/sw/source/core/text/itrform2.hxx @@ -158,7 +158,7 @@ public: { CtorInitTextFormatter( pTextFrame, pTextFormatInf ); } - virtual ~SwTextFormatter(); + virtual ~SwTextFormatter() override; sal_Int32 FormatLine( const sal_Int32 nStart ); diff --git a/sw/source/core/text/pordrop.hxx b/sw/source/core/text/pordrop.hxx index 9ca201273b64..4839a8f06224 100644 --- a/sw/source/core/text/pordrop.hxx +++ b/sw/source/core/text/pordrop.hxx @@ -78,7 +78,7 @@ public: const sal_uInt16 nDropHeight, const sal_uInt16 nDropDescent, const sal_uInt16 nDistance ); - virtual ~SwDropPortion(); + virtual ~SwDropPortion() override; virtual void Paint( const SwTextPaintInfo &rInf ) const override; void PaintDrop( const SwTextPaintInfo &rInf ) const; diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx index cc5e350dbefa..6fb6d2701011 100644 --- a/sw/source/core/text/porfld.hxx +++ b/sw/source/core/text/porfld.hxx @@ -55,7 +55,7 @@ protected: public: SwFieldPortion( const SwFieldPortion& rField ); SwFieldPortion( const OUString &rExpand, SwFont *pFnt = nullptr, bool bPlaceHolder = false ); - virtual ~SwFieldPortion(); + virtual ~SwFieldPortion() override; sal_uInt16 m_nAttrFieldType; void TakeNextOffset( const SwFieldPortion* pField ); @@ -178,7 +178,7 @@ public: const bool bCenter, const sal_uInt16 nMinDst, const bool bLabelAlignmentPosAndSpaceModeActive ); - virtual ~SwGrfNumPortion(); + virtual ~SwGrfNumPortion() override; virtual void Paint( const SwTextPaintInfo &rInf ) const override; virtual bool Format( SwTextFormatInfo &rInf ) override; diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx index ddd2d8e0f8df..76d0921b8134 100644 --- a/sw/source/core/text/porlay.hxx +++ b/sw/source/core/text/porlay.hxx @@ -137,7 +137,7 @@ public: inline bool IsClipping() const { return m_bClipping; } inline SwLineLayout(); - virtual ~SwLineLayout(); + virtual ~SwLineLayout() override; inline SwLineLayout *GetNext() { return m_pNext; } inline const SwLineLayout *GetNext() const { return m_pNext; } @@ -252,7 +252,7 @@ class SwParaPortion : public SwLineLayout public: SwParaPortion(); - virtual ~SwParaPortion(); + virtual ~SwParaPortion() override; // Resets all formatting information (except for bFlys) inline void FormatReset(); diff --git a/sw/source/core/text/pormulti.hxx b/sw/source/core/text/pormulti.hxx index f2e15b429986..24a9206a51bd 100644 --- a/sw/source/core/text/pormulti.hxx +++ b/sw/source/core/text/pormulti.hxx @@ -109,7 +109,7 @@ protected: bool GetTab1() const { return bTab1; } bool GetTab2() const { return bTab2; } public: - virtual ~SwMultiPortion(); + virtual ~SwMultiPortion() override; const SwLineLayout& GetRoot() const { return aRoot; } SwLineLayout& GetRoot() { return aRoot; } @@ -153,7 +153,7 @@ class SwDoubleLinePortion : public SwMultiPortion public: SwDoubleLinePortion( SwDoubleLinePortion& rDouble, sal_Int32 nEnd ); SwDoubleLinePortion( const SwMultiCreator& rCreate, sal_Int32 nEnd ); - virtual ~SwDoubleLinePortion(); + virtual ~SwDoubleLinePortion() override; inline SwBracket* GetBrackets() const { return pBracket; } void SetBrackets( const SwDoubleLinePortion& rDouble ); diff --git a/sw/source/core/text/txtcache.hxx b/sw/source/core/text/txtcache.hxx index df3979aa46da..5ee5126cc529 100644 --- a/sw/source/core/text/txtcache.hxx +++ b/sw/source/core/text/txtcache.hxx @@ -34,7 +34,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwTextLine) SwTextLine( SwTextFrame *pFrame, SwParaPortion *pNew = nullptr ); - virtual ~SwTextLine(); + virtual ~SwTextLine() override; inline SwParaPortion *GetPara() { return pLine; } inline const SwParaPortion *GetPara() const { return pLine; } diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx index e97ba351d3fe..8a69c3af2b6c 100644 --- a/sw/source/core/text/xmldump.cxx +++ b/sw/source/core/text/xmldump.cxx @@ -107,7 +107,7 @@ class XmlPortionDumper:public SwPortionHandler { } - virtual ~ XmlPortionDumper( ) + virtual ~ XmlPortionDumper( ) override { } diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx index 0f900d44c83e..e7ea21fc1b65 100644 --- a/sw/source/core/txtnode/SwGrammarContact.cxx +++ b/sw/source/core/txtnode/SwGrammarContact.cxx @@ -48,7 +48,7 @@ class SwGrammarContact : public IGrammarContact, public SwClient public: SwGrammarContact(); - virtual ~SwGrammarContact() { aTimer.Stop(); delete mpProxyList; } + virtual ~SwGrammarContact() override { aTimer.Stop(); delete mpProxyList; } // (pure) virtual functions of IGrammarContact virtual void updateCursorPosition( const SwPosition& rNewPos ) override; diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx index fc1e93a53a97..8e4cbd17c1c1 100644 --- a/sw/source/core/txtnode/fntcap.cxx +++ b/sw/source/core/txtnode/fntcap.cxx @@ -401,7 +401,7 @@ public: nOrgWidth( rInfo.GetWidth() ) { } - virtual ~SwDoDrawStretchCapital() {} + virtual ~SwDoDrawStretchCapital() override {} }; void SwDoDrawStretchCapital::Do() diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx index 0cd4fc22edff..8f12aa776d42 100644 --- a/sw/source/core/undo/unsect.cxx +++ b/sw/source/core/undo/unsect.cxx @@ -288,7 +288,7 @@ public: SwUndoDelSection( SwSectionFormat const&, SwSection const&, SwNodeIndex const*const); - virtual ~SwUndoDelSection(); + virtual ~SwUndoDelSection() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; @@ -396,7 +396,7 @@ public: SwUndoUpdateSection( SwSection const&, SwNodeIndex const*const, bool const bOnlyAttr); - virtual ~SwUndoUpdateSection(); + virtual ~SwUndoUpdateSection() override; virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index bc81e788bc32..3e7760ebc1dd 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -1061,7 +1061,7 @@ namespace typedef std::list< Any > frmcontainer_t; frmcontainer_t m_aFrames; protected: - virtual ~SwXFrameEnumeration() {}; + virtual ~SwXFrameEnumeration() override {}; public: SwXFrameEnumeration(const SwDoc* const pDoc); diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 958c321c3d2c..e89ed1433831 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -376,7 +376,7 @@ namespace typedef std::list< css::uno::Any > shapescontainer_t; shapescontainer_t m_aShapes; protected: - virtual ~SwXShapesEnumeration() {}; + virtual ~SwXShapesEnumeration() override {}; public: explicit SwXShapesEnumeration(SwXDrawPage* const pDrawPage); diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index 5b0b4bffe2ea..d5cbedbd7990 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -1160,7 +1160,7 @@ public: , m_pProps((pFormat) ? nullptr : new SwFieldProperties_Impl) { } - virtual ~Impl() + virtual ~Impl() override { if (m_pTextObject) { diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index c3f27a96a6ef..a0b08b5349d4 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -956,7 +956,7 @@ class SwFrameProperties_Impl : public BaseFrameProperties_Impl { public: SwFrameProperties_Impl(); - virtual ~SwFrameProperties_Impl(){} + virtual ~SwFrameProperties_Impl() override {} bool AnyToItemSet( SwDoc* pDoc, SfxItemSet& rFrameSet, SfxItemSet& rSet, bool& rSizeFound) override; }; @@ -1021,7 +1021,7 @@ class SwGraphicProperties_Impl : public BaseFrameProperties_Impl { public: SwGraphicProperties_Impl(); - virtual ~SwGraphicProperties_Impl(){} + virtual ~SwGraphicProperties_Impl() override {} virtual bool AnyToItemSet( SwDoc* pDoc, SfxItemSet& rFrameSet, SfxItemSet& rSet, bool& rSizeFound) override; }; @@ -1123,7 +1123,7 @@ class SwOLEProperties_Impl : public SwFrameProperties_Impl public: SwOLEProperties_Impl() : SwFrameProperties_Impl(/*aSwMapProvider.GetPropertyMap(PROPERTY_MAP_EMBEDDED_OBJECT)*/ ){} - virtual ~SwOLEProperties_Impl(){} + virtual ~SwOLEProperties_Impl() override {} virtual bool AnyToItemSet( SwDoc* pDoc, SfxItemSet& rFrameSet, SfxItemSet& rSet, bool& rSizeFound) override; }; diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index 7cdc0b4d45d0..d0462aeb4265 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -193,7 +193,7 @@ private: /// can be destroyed threadsafely, so no UnoImplPtr here ::rtl::Reference<SwXDocumentIndex> m_xParent; - virtual ~StyleAccess_Impl(); + virtual ~StyleAccess_Impl() override; public: explicit StyleAccess_Impl(SwXDocumentIndex& rParentIdx); @@ -238,7 +238,7 @@ private: /// can be destroyed threadsafely, so no UnoImplPtr here ::rtl::Reference<SwXDocumentIndex> m_xParent; - virtual ~TokenAccess_Impl(); + virtual ~TokenAccess_Impl() override; public: diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index 61f3f9951a6e..97ea2e708a97 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -486,7 +486,7 @@ struct SwXParagraphEnumerationImpl final : public SwXParagraphEnumeration } } - virtual ~SwXParagraphEnumerationImpl() + virtual ~SwXParagraphEnumerationImpl() override { m_pCursor.reset(nullptr); } virtual void SAL_CALL release() throw () override { @@ -701,7 +701,7 @@ public: { } - virtual ~Impl() + virtual ~Impl() override { // Impl owns the bookmark; delete it here: SolarMutex is locked Invalidate(); diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 499556fa75bf..f631625bb76e 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -197,7 +197,7 @@ namespace sw StartListening(*m_pBasePool); } - virtual ~XStyleFamily() {}; + virtual ~XStyleFamily() override {}; //XIndexAccess virtual sal_Int32 SAL_CALL getCount() throw( uno::RuntimeException, std::exception ) override @@ -306,7 +306,7 @@ protected: public: SwXStyle(SwDoc* pDoc, SfxStyleFamily eFam = SfxStyleFamily::Para, bool bConditional = false); SwXStyle(SfxStyleSheetBasePool* pPool, SfxStyleFamily eFamily, SwDoc* pDoc, const OUString& rStyleName); - virtual ~SwXStyle(); + virtual ~SwXStyle() override; static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId(); @@ -398,7 +398,7 @@ public: const OUString& rStyleName) : SwXStyle(&rPool, SfxStyleFamily::Frame, pDoc, rStyleName){} explicit SwXFrameStyle(SwDoc *pDoc); - virtual ~SwXFrameStyle(); + virtual ~SwXFrameStyle() override; virtual void SAL_CALL acquire( ) throw() override {SwXStyle::acquire();} virtual void SAL_CALL release( ) throw() override {SwXStyle::release();} @@ -424,7 +424,7 @@ protected: public: SwXPageStyle(SfxStyleSheetBasePool& rPool, SwDocShell* pDocSh, const OUString& rStyleName); explicit SwXPageStyle(SwDocShell* pDocSh); - virtual ~SwXPageStyle(); + virtual ~SwXPageStyle() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; |