diff options
Diffstat (limited to 'sd/source')
236 files changed, 297 insertions, 297 deletions
diff --git a/sd/source/core/PageListWatcher.hxx b/sd/source/core/PageListWatcher.hxx index 979ad9e97a12..d93e7d44df56 100644 --- a/sd/source/core/PageListWatcher.hxx +++ b/sd/source/core/PageListWatcher.hxx @@ -71,7 +71,7 @@ protected: public: explicit ImpDrawPageListWatcher(const SdrModel& rModel); - virtual ~ImpDrawPageListWatcher(); + virtual ~ImpDrawPageListWatcher() override; }; class ImpMasterPageListWatcher : public ImpPageListWatcher @@ -82,7 +82,7 @@ protected: public: explicit ImpMasterPageListWatcher(const SdrModel& rModel); - virtual ~ImpMasterPageListWatcher(); + virtual ~ImpMasterPageListWatcher() override; }; #endif diff --git a/sd/source/core/text/textapi.cxx b/sd/source/core/text/textapi.cxx index bae26eff34f4..953342a310d5 100644 --- a/sd/source/core/text/textapi.cxx +++ b/sd/source/core/text/textapi.cxx @@ -40,7 +40,7 @@ class UndoTextAPIChanged : public SdrUndoAction { public: UndoTextAPIChanged( SdrModel& rModel, TextApiObject* pTextObj ); - virtual ~UndoTextAPIChanged(); + virtual ~UndoTextAPIChanged() override; virtual void Undo() override; virtual void Redo() override; diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx index 2162ccb60bc4..ce04eaa3efe8 100644 --- a/sd/source/filter/eppt/eppt.hxx +++ b/sd/source/filter/eppt/eppt.hxx @@ -269,7 +269,7 @@ class PPTWriter : public PPTWriterBase, public PPTExBulletProvider css::uno::Reference< css::task::XStatusIndicator > & rStatInd, SvMemoryStream* pVBA, sal_uInt32 nCnvrtFlags ); - virtual ~PPTWriter(); + virtual ~PPTWriter() override; bool IsValid() const { return mbStatus; }; diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index dd87cc5beae1..178261b7e449 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -67,7 +67,7 @@ public: PowerPointExport( const css::uno::Reference< css::uno::XComponentContext > & rxCtxt ); - virtual ~PowerPointExport(); + virtual ~PowerPointExport() override; // from FilterBase virtual bool importDocument() throw() override; diff --git a/sd/source/filter/eppt/escherex.hxx b/sd/source/filter/eppt/escherex.hxx index 5e54008537d9..60e1a873e21b 100644 --- a/sd/source/filter/eppt/escherex.hxx +++ b/sd/source/filter/eppt/escherex.hxx @@ -49,7 +49,7 @@ class PptEscherEx : public EscherEx public: PptEscherEx( SvStream& rOut, const OUString& ); - virtual ~PptEscherEx(); + virtual ~PptEscherEx() override; void OpenContainer( sal_uInt16 n_EscherContainer, int nRecInstance = 0 ) override; void CloseContainer() override; diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx index d2e90326c661..9e4bb2f706ca 100644 --- a/sd/source/filter/grf/sdgrffilter.cxx +++ b/sd/source/filter/grf/sdgrffilter.cxx @@ -95,7 +95,7 @@ class SdGRFFilter_ImplInteractionHdl : public ::cppu::WeakImplHelper< css::task: nFilterError( GRFILTER_OK ) {} - virtual ~SdGRFFilter_ImplInteractionHdl(); + virtual ~SdGRFFilter_ImplInteractionHdl() override; sal_uInt16 GetErrorCode() const { return nFilterError; }; diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx index fad3fd6989a1..6e01b9c37c68 100644 --- a/sd/source/filter/html/HtmlOptionsDialog.cxx +++ b/sd/source/filter/html/HtmlOptionsDialog.cxx @@ -66,7 +66,7 @@ class SdHtmlOptionsDialog : public cppu::WeakImplHelper public: SdHtmlOptionsDialog(); - virtual ~SdHtmlOptionsDialog(); + virtual ~SdHtmlOptionsDialog() override; // XInterface virtual void SAL_CALL acquire() throw() override; diff --git a/sd/source/filter/html/htmlattr.hxx b/sd/source/filter/html/htmlattr.hxx index d54411b6b41c..9013f9d3b044 100644 --- a/sd/source/filter/html/htmlattr.hxx +++ b/sd/source/filter/html/htmlattr.hxx @@ -32,7 +32,7 @@ protected: public: SdHtmlAttrPreview( vcl::Window* pParent, WinBits nStyle ); - virtual ~SdHtmlAttrPreview(); + virtual ~SdHtmlAttrPreview() override; virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx index f4b24c1d29a8..c42f1b87508d 100644 --- a/sd/source/filter/html/htmlex.hxx +++ b/sd/source/filter/html/htmlex.hxx @@ -67,7 +67,7 @@ private: public: explicit HtmlErrorContext(); - virtual ~HtmlErrorContext() {}; + virtual ~HtmlErrorContext() override {}; virtual bool GetString( sal_uLong nErrId, OUString& rCtxStr ) override; diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index 7476251ca319..1f9ffad68546 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -344,7 +344,7 @@ private: public: SdDesignNameDlg(vcl::Window* pWindow, const OUString& aName ); - virtual ~SdDesignNameDlg(); + virtual ~SdDesignNameDlg() override; virtual void dispose() override; OUString GetDesignName(); DECL_LINK_TYPED(ModifyHdl, Edit&, void); diff --git a/sd/source/filter/ppt/pptin.hxx b/sd/source/filter/ppt/pptin.hxx index ef69e29c9308..f9435922facf 100644 --- a/sd/source/filter/ppt/pptin.hxx +++ b/sd/source/filter/ppt/pptin.hxx @@ -74,7 +74,7 @@ public: OUString ReadMedia( sal_uInt32 nMediaRef ) const; ImplSdPPTImport( SdDrawDocument* pDoc, SotStorage& rStorage, SfxMedium& rMed, PowerPointImportParam& ); - virtual ~ImplSdPPTImport(); + virtual ~ImplSdPPTImport() override; bool Import(); virtual bool ReadFormControl( tools::SvRef<SotStorage>& rSrc1, css::uno::Reference< css::form::XFormComponent > & rFormComp ) const override; diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx index 3380de7ef4e3..08c0ec8538de 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx @@ -69,7 +69,7 @@ public: AccessibleSlideSorterView& rAccessibleSlideSorter, ::sd::slidesorter::SlideSorter& rSlideSorter, vcl::Window* pWindow); - virtual ~Implementation(); + virtual ~Implementation() override; void RequestUpdateChildren(); void Clear(); diff --git a/sd/source/ui/animations/CategoryListBox.hxx b/sd/source/ui/animations/CategoryListBox.hxx index e0bcad3ae541..25edc35e4b8a 100644 --- a/sd/source/ui/animations/CategoryListBox.hxx +++ b/sd/source/ui/animations/CategoryListBox.hxx @@ -29,7 +29,7 @@ class CategoryListBox : public ListBox { public: explicit CategoryListBox( vcl::Window* pParent ); - virtual ~CategoryListBox(); + virtual ~CategoryListBox() override; virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 18c409531440..d912f6d5ec05 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -101,7 +101,7 @@ class PresetPropertyBox : public PropertySubControl { public: PresetPropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const OUString& aPresetId, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~PresetPropertyBox(); + virtual ~PresetPropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& rPresetId ) override; @@ -184,7 +184,7 @@ class ColorPropertyBox : public PropertySubControl { public: ColorPropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~ColorPropertyBox(); + virtual ~ColorPropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& rPresetId ) override; @@ -263,7 +263,7 @@ class FontPropertyBox : public PropertySubControl { public: FontPropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~FontPropertyBox(); + virtual ~FontPropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& rPresetId ) override; @@ -343,7 +343,7 @@ class DropdownMenuBox : public Edit { public: DropdownMenuBox( vcl::Window* pParent, Edit* pSubControl, PopupMenu* pMenu ); - virtual ~DropdownMenuBox(); + virtual ~DropdownMenuBox() override; virtual void dispose() override; void Resize() override; @@ -424,7 +424,7 @@ class CharHeightPropertyBox : public PropertySubControl { public: CharHeightPropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~CharHeightPropertyBox(); + virtual ~CharHeightPropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& ) override; @@ -507,7 +507,7 @@ class TransparencyPropertyBox : public PropertySubControl { public: TransparencyPropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~TransparencyPropertyBox(); + virtual ~TransparencyPropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& rPresetId ) override; @@ -607,7 +607,7 @@ class RotationPropertyBox : public PropertySubControl { public: RotationPropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~RotationPropertyBox(); + virtual ~RotationPropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& ) override; @@ -728,7 +728,7 @@ class ScalePropertyBox : public PropertySubControl { public: ScalePropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~ScalePropertyBox(); + virtual ~ScalePropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& ) override; @@ -887,7 +887,7 @@ class FontStylePropertyBox : public PropertySubControl { public: FontStylePropertyBox( sal_Int32 nControlType, vcl::Window* pParent, const Any& rValue, const Link<LinkParamNone*,void>& rModifyHdl ); - virtual ~FontStylePropertyBox(); + virtual ~FontStylePropertyBox() override; virtual Any getValue() override; virtual void setValue( const Any& rValue, const OUString& ) override; @@ -1006,7 +1006,7 @@ class CustomAnimationEffectTabPage : public TabPage { public: CustomAnimationEffectTabPage( vcl::Window* pParent, const STLPropertySet* pSet ); - virtual ~CustomAnimationEffectTabPage(); + virtual ~CustomAnimationEffectTabPage() override; virtual void dispose() override; void update( STLPropertySet* pSet ); @@ -1610,7 +1610,7 @@ class CustomAnimationDurationTabPage : public TabPage { public: CustomAnimationDurationTabPage( vcl::Window* pParent, const STLPropertySet* pSet ); - virtual ~CustomAnimationDurationTabPage(); + virtual ~CustomAnimationDurationTabPage() override; virtual void dispose() override; void update( STLPropertySet* pSet ); @@ -2006,7 +2006,7 @@ class CustomAnimationTextAnimTabPage : public TabPage { public: CustomAnimationTextAnimTabPage( vcl::Window* pParent, const STLPropertySet* pSet ); - virtual ~CustomAnimationTextAnimTabPage(); + virtual ~CustomAnimationTextAnimTabPage() override; virtual void dispose() override; void update( STLPropertySet* pSet ); diff --git a/sd/source/ui/animations/CustomAnimationDialog.hxx b/sd/source/ui/animations/CustomAnimationDialog.hxx index ccdf464fba93..6ccbdddc1469 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.hxx +++ b/sd/source/ui/animations/CustomAnimationDialog.hxx @@ -122,7 +122,7 @@ class PropertyControl : public ListBox { public: explicit PropertyControl( vcl::Window* pParent ); - virtual ~PropertyControl(); + virtual ~PropertyControl() override; virtual void dispose() override; void setSubControl( PropertySubControl* pSubControl ); @@ -143,7 +143,7 @@ class CustomAnimationDialog : public TabDialog { public: CustomAnimationDialog(vcl::Window* pParent, STLPropertySet* pSet, const OString& Page = OString()); - virtual ~CustomAnimationDialog(); + virtual ~CustomAnimationDialog() override; virtual void dispose() override; STLPropertySet* getResultSet(); diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index d14f670702d2..b15f0b9bbc16 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -203,7 +203,7 @@ class CustomAnimationListEntryItem : public SvLBoxString public: CustomAnimationListEntryItem(const OUString& aDescription, const CustomAnimationEffectPtr& pEffect, CustomAnimationList* pParent); - virtual ~CustomAnimationListEntryItem(); + virtual ~CustomAnimationListEntryItem() override; void InitViewData(SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* = nullptr) override; SvLBoxItem* Create() const override; void Clone(SvLBoxItem* pSource) override; @@ -350,7 +350,7 @@ class CustomAnimationListEntry : public SvTreeListEntry public: CustomAnimationListEntry(); explicit CustomAnimationListEntry(const CustomAnimationEffectPtr& pEffect); - virtual ~CustomAnimationListEntry(); + virtual ~CustomAnimationListEntry() override; const CustomAnimationEffectPtr& getEffect() const { return mpEffect; } @@ -375,7 +375,7 @@ class CustomAnimationTriggerEntryItem : public SvLBoxString { public: explicit CustomAnimationTriggerEntryItem( const OUString& aDescription ); - virtual ~CustomAnimationTriggerEntryItem(); + virtual ~CustomAnimationTriggerEntryItem() override; void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* = nullptr ) override; SvLBoxItem* Create() const override; void Clone( SvLBoxItem* pSource ) override; diff --git a/sd/source/ui/animations/CustomAnimationList.hxx b/sd/source/ui/animations/CustomAnimationList.hxx index f2bce08e8439..0a0b906df09e 100644 --- a/sd/source/ui/animations/CustomAnimationList.hxx +++ b/sd/source/ui/animations/CustomAnimationList.hxx @@ -51,7 +51,7 @@ class CustomAnimationList : public SvTreeListBox, public ISequenceListener public: explicit CustomAnimationList( vcl::Window* pParent ); - virtual ~CustomAnimationList(); + virtual ~CustomAnimationList() override; virtual void dispose() override; // methods diff --git a/sd/source/ui/animations/CustomAnimationPane.hxx b/sd/source/ui/animations/CustomAnimationPane.hxx index 186af1c196b8..6fb2e3a2aacd 100644 --- a/sd/source/ui/animations/CustomAnimationPane.hxx +++ b/sd/source/ui/animations/CustomAnimationPane.hxx @@ -67,7 +67,7 @@ class CustomAnimationPane : public PanelLayout, public ICustomAnimationListContr public: CustomAnimationPane( vcl::Window* pParent, ViewShellBase& rBase, const css::uno::Reference<css::frame::XFrame>& rxFrame ); CustomAnimationPane( vcl::Window* pParent, ViewShellBase& rBase, const css::uno::Reference<css::frame::XFrame>& rxFrame, bool bHorizontal ); - virtual ~CustomAnimationPane(); + virtual ~CustomAnimationPane() override; virtual void dispose() override; // callbacks diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index a59ec42f25cc..3d42e552a2d2 100755 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -383,7 +383,7 @@ public: set_vexpand( true ); SetExtraSpacing( 2 ); } - virtual ~TransitionPane() { disposeOnce(); } + virtual ~TransitionPane() override { disposeOnce(); } virtual Size GetOptimalSize() const override { diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx index 6e4583614896..da51c1e0bbe8 100644 --- a/sd/source/ui/animations/motionpathtag.cxx +++ b/sd/source/ui/animations/motionpathtag.cxx @@ -245,7 +245,7 @@ class SdPathHdl : public SmartHdl { public: SdPathHdl( const SmartTagReference& xTag, SdrPathObj* mpPathObj ); - virtual ~SdPathHdl(); + virtual ~SdPathHdl() override; virtual void CreateB2dIAObject() override; virtual bool IsFocusHdl() const override; virtual bool isMarkable() const override; diff --git a/sd/source/ui/animations/motionpathtag.hxx b/sd/source/ui/animations/motionpathtag.hxx index 0803417434ac..bfd035d034c3 100644 --- a/sd/source/ui/animations/motionpathtag.hxx +++ b/sd/source/ui/animations/motionpathtag.hxx @@ -39,7 +39,7 @@ class MotionPathTag : public SmartTag, public IPolyPolygonEditorController, publ { public: MotionPathTag( CustomAnimationPane& rPane, ::sd::View& rView, const CustomAnimationEffectPtr& pEffect ); - virtual ~MotionPathTag(); + virtual ~MotionPathTag() override; SdrPathObj* getPathObj() const { return mpPathObj; } diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx index c90bfc244ca1..80dcf37b580a 100644 --- a/sd/source/ui/annotations/annotationtag.cxx +++ b/sd/source/ui/annotations/annotationtag.cxx @@ -155,7 +155,7 @@ class AnnotationHdl : public SmartHdl { public: AnnotationHdl( const SmartTagReference& xTag, const Reference< XAnnotation >& xAnnotation, const Point& rPnt ); - virtual ~AnnotationHdl(); + virtual ~AnnotationHdl() override; virtual void CreateB2dIAObject() override; virtual bool IsFocusHdl() const override; virtual bool isMarkable() const override; diff --git a/sd/source/ui/annotations/annotationtag.hxx b/sd/source/ui/annotations/annotationtag.hxx index 54a8e6b909a2..36eb57424ff1 100644 --- a/sd/source/ui/annotations/annotationtag.hxx +++ b/sd/source/ui/annotations/annotationtag.hxx @@ -35,7 +35,7 @@ class AnnotationTag : public SmartTag { public: AnnotationTag( AnnotationManagerImpl& rManager, ::sd::View& rView, const css::uno::Reference< css::office::XAnnotation >& xAnnotation, Color& rColor, int nIndex, const vcl::Font& rFont ); - virtual ~AnnotationTag(); + virtual ~AnnotationTag() override; /// @return true if the SmartTag handled the event. virtual bool MouseButtonDown( const MouseEvent&, SmartHdl& ) override; diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx index 90ccbf350c3c..11d01c021564 100644 --- a/sd/source/ui/annotations/annotationwindow.hxx +++ b/sd/source/ui/annotations/annotationwindow.hxx @@ -62,7 +62,7 @@ protected: public: AnnotationTextWindow( AnnotationWindow* pParent, WinBits nBits ); - virtual ~AnnotationTextWindow(); + virtual ~AnnotationTextWindow() override; virtual void dispose() override; void SetOutlinerView( OutlinerView* pOutlinerView ) { mpOutlinerView = pOutlinerView; } @@ -95,7 +95,7 @@ class AnnotationWindow : public FloatingWindow public: AnnotationWindow( AnnotationManagerImpl& rManager, DrawDocShell* pDocShell, vcl::Window* pParent ); - virtual ~AnnotationWindow(); + virtual ~AnnotationWindow() override; virtual void dispose() override; void StartEdit(); diff --git a/sd/source/ui/controller/displaymodecontroller.cxx b/sd/source/ui/controller/displaymodecontroller.cxx index 628f3ac97d37..ba04c52bdc48 100644 --- a/sd/source/ui/controller/displaymodecontroller.cxx +++ b/sd/source/ui/controller/displaymodecontroller.cxx @@ -54,7 +54,7 @@ class DisplayModeToolbarMenu : public svtools::ToolbarMenu public: DisplayModeToolbarMenu( DisplayModeController& rController, const Reference< XFrame >& xFrame, vcl::Window* pParent ); - virtual ~DisplayModeToolbarMenu(); + virtual ~DisplayModeToolbarMenu() override; virtual void dispose() override; protected: diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx index 29d1a823cf1f..b85e0c3dfced 100644 --- a/sd/source/ui/controller/slidelayoutcontroller.cxx +++ b/sd/source/ui/controller/slidelayoutcontroller.cxx @@ -66,7 +66,7 @@ class LayoutToolbarMenu : public svtools::ToolbarMenu { public: LayoutToolbarMenu( SlideLayoutController& rController, const Reference< XFrame >& xFrame, vcl::Window* pParent, const bool bInsertPage ); - virtual ~LayoutToolbarMenu(); + virtual ~LayoutToolbarMenu() override; virtual void dispose() override; protected: diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.hxx b/sd/source/ui/dlg/PhotoAlbumDialog.hxx index e6850a2b6c7e..cfcb96c8cfd5 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.hxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.hxx @@ -45,7 +45,7 @@ class SdPhotoAlbumDialog : public ModalDialog { public: SdPhotoAlbumDialog(vcl::Window* pWindow, SdDrawDocument* pActDoc); - virtual ~SdPhotoAlbumDialog(); + virtual ~SdPhotoAlbumDialog() override; virtual void dispose() override; virtual short Execute() override; diff --git a/sd/source/ui/dlg/RemoteDialog.hxx b/sd/source/ui/dlg/RemoteDialog.hxx index 9d2b072a38a3..4f1020ce6be1 100644 --- a/sd/source/ui/dlg/RemoteDialog.hxx +++ b/sd/source/ui/dlg/RemoteDialog.hxx @@ -33,7 +33,7 @@ private: DECL_LINK_TYPED( CloseClickHdl, Button*, void ); public: explicit RemoteDialog( vcl::Window* pWindow ); - virtual ~RemoteDialog(); + virtual ~RemoteDialog() override; virtual void dispose() override; }; diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.hxx b/sd/source/ui/dlg/RemoteDialogClientBox.hxx index 968a311127cd..e68e71f38b21 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.hxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.hxx @@ -77,7 +77,7 @@ public: { m_pParent = pParent; } - virtual ~ClientRemovedListener(); + virtual ~ClientRemovedListener() override; // XEventListener virtual void SAL_CALL disposing(css::lang::EventObject const & evt) @@ -130,7 +130,7 @@ class ClientBox : public Control public: ClientBox( vcl::Window* pParent, WinBits nStyle ); - virtual ~ClientBox(); + virtual ~ClientBox() override; virtual void dispose() override; void MouseButtonDown( const MouseEvent& rMEvt ) override; diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx index 0508797e9396..c808dbfea8fd 100644 --- a/sd/source/ui/dlg/filedlg.cxx +++ b/sd/source/ui/dlg/filedlg.cxx @@ -63,7 +63,7 @@ private: public: explicit SdFileDialog_Imp(); - virtual ~SdFileDialog_Imp(); + virtual ~SdFileDialog_Imp() override; ErrCode Execute(); diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index ccab84b8cfa3..75580215f7e4 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -75,7 +75,7 @@ private: public: explicit PresLayoutPreview(vcl::Window* pParent); - virtual ~PresLayoutPreview(); + virtual ~PresLayoutPreview() override; virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; virtual Size GetOptimalSize() const override; @@ -153,7 +153,7 @@ private: public: HeaderFooterTabPage( vcl::Window* pParent, SdDrawDocument* pDoc, SdPage* pActualPage, bool bHandoutMode ); - virtual ~HeaderFooterTabPage(); + virtual ~HeaderFooterTabPage() override; virtual void dispose() override; void init( const HeaderFooterSettings& rSettings, bool bNotOnTitle ); diff --git a/sd/source/ui/dlg/paragr.cxx b/sd/source/ui/dlg/paragr.cxx index 6e83e59639e0..ca06d386936f 100644 --- a/sd/source/ui/dlg/paragr.cxx +++ b/sd/source/ui/dlg/paragr.cxx @@ -38,7 +38,7 @@ class SdParagraphNumTabPage : public SfxTabPage { public: SdParagraphNumTabPage(vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SdParagraphNumTabPage(); + virtual ~SdParagraphNumTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/sd/source/ui/dlg/sddlgfact.hxx b/sd/source/ui/dlg/sddlgfact.hxx index bcdce0407b31..9fc9a469d193 100644 --- a/sd/source/ui/dlg/sddlgfact.hxx +++ b/sd/source/ui/dlg/sddlgfact.hxx @@ -33,7 +33,7 @@ public: \ virtual bool selectPageByUIXMLDescription(const OString& rUIXMLDescription) override; \ virtual Bitmap createScreenshot() const override; \ virtual OString GetScreenshotId() const override; \ - virtual ~Class(); \ + virtual ~Class() override; \ virtual short Execute() override ; #define IMPL_ABSTDLG_BASE(Class) \ diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx index f7cf7e6235a0..53d6a040c09c 100644 --- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx +++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx @@ -70,7 +70,7 @@ public: const Mode eMode) throw (css::lang::IllegalArgumentException); - virtual ~GenericConfigurationChangeRequest() throw(); + virtual ~GenericConfigurationChangeRequest() throw() override; // XConfigurationChangeOperation diff --git a/sd/source/ui/framework/configuration/UpdateRequest.hxx b/sd/source/ui/framework/configuration/UpdateRequest.hxx index 248267a313b9..d92d6792a308 100644 --- a/sd/source/ui/framework/configuration/UpdateRequest.hxx +++ b/sd/source/ui/framework/configuration/UpdateRequest.hxx @@ -51,7 +51,7 @@ class UpdateRequest { public: UpdateRequest() throw(); - virtual ~UpdateRequest() throw(); + virtual ~UpdateRequest() throw() override; // XConfigurationChangeOperation diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx index 273e74e8ad96..fcac6c04dd85 100644 --- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx +++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx @@ -66,7 +66,7 @@ class BasicPaneFactory public: explicit BasicPaneFactory ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~BasicPaneFactory(); + virtual ~BasicPaneFactory() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx index 8093c2ba9df6..55b449602eb1 100644 --- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx +++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx @@ -58,7 +58,7 @@ class BasicToolBarFactory public: explicit BasicToolBarFactory ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~BasicToolBarFactory(); + virtual ~BasicToolBarFactory() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx index 6904d8451fb2..eb1a4913031c 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.hxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx @@ -73,7 +73,7 @@ class BasicViewFactory public: explicit BasicViewFactory ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~BasicViewFactory(); + virtual ~BasicViewFactory() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/factories/ChildWindowPane.hxx b/sd/source/ui/framework/factories/ChildWindowPane.hxx index 8c614556595b..e072d772ec0e 100644 --- a/sd/source/ui/framework/factories/ChildWindowPane.hxx +++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx @@ -56,7 +56,7 @@ public: sal_uInt16 nChildWindowId, ViewShellBase& rViewShellBase, ::std::unique_ptr<SfxShell> && pShell); - virtual ~ChildWindowPane(); + virtual ~ChildWindowPane() override; /** Hide the pane. To make the pane visible again, call GetWindow(). */ diff --git a/sd/source/ui/framework/factories/FrameWindowPane.hxx b/sd/source/ui/framework/factories/FrameWindowPane.hxx index 10961ccd1547..a0cd4b1185be 100644 --- a/sd/source/ui/framework/factories/FrameWindowPane.hxx +++ b/sd/source/ui/framework/factories/FrameWindowPane.hxx @@ -36,7 +36,7 @@ public: FrameWindowPane ( const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId, vcl::Window* pWindow); - virtual ~FrameWindowPane() throw(); + virtual ~FrameWindowPane() throw() override; /** A frame window typically can (and should) exists on its own without children, if only to visualize that something (a view) is missing. diff --git a/sd/source/ui/framework/factories/FullScreenPane.hxx b/sd/source/ui/framework/factories/FullScreenPane.hxx index fa0ade96ec17..e8911503c907 100644 --- a/sd/source/ui/framework/factories/FullScreenPane.hxx +++ b/sd/source/ui/framework/factories/FullScreenPane.hxx @@ -52,7 +52,7 @@ public: const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext, const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId, const vcl::Window* pViewShellWindow); - virtual ~FullScreenPane() throw(); + virtual ~FullScreenPane() throw() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/factories/PresentationFactory.cxx b/sd/source/ui/framework/factories/PresentationFactory.cxx index baefd86a3a86..76444d877893 100644 --- a/sd/source/ui/framework/factories/PresentationFactory.cxx +++ b/sd/source/ui/framework/factories/PresentationFactory.cxx @@ -46,7 +46,7 @@ class PresentationFactoryProvider { public: explicit PresentationFactoryProvider (const Reference<XComponentContext>& rxContext); - virtual ~PresentationFactoryProvider(); + virtual ~PresentationFactoryProvider() override; virtual void SAL_CALL disposing() override; @@ -70,7 +70,7 @@ class PresentationView public: explicit PresentationView (const Reference<XResourceId>& rxViewId) : PresentationViewInterfaceBase(maMutex),mxResourceId(rxViewId) {}; - virtual ~PresentationView() {}; + virtual ~PresentationView() override {}; // XView diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.hxx b/sd/source/ui/framework/module/CenterViewFocusModule.hxx index 15058be2de68..e8a8ebecf1eb 100644 --- a/sd/source/ui/framework/module/CenterViewFocusModule.hxx +++ b/sd/source/ui/framework/module/CenterViewFocusModule.hxx @@ -56,7 +56,7 @@ class CenterViewFocusModule public: explicit CenterViewFocusModule ( css::uno::Reference<css::frame::XController>& rxController); - virtual ~CenterViewFocusModule(); + virtual ~CenterViewFocusModule() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx index 455ddd384ddc..6e40983ba50a 100644 --- a/sd/source/ui/framework/module/ResourceManager.hxx +++ b/sd/source/ui/framework/module/ResourceManager.hxx @@ -51,7 +51,7 @@ public: ResourceManager ( const css::uno::Reference<css::frame::XController>& rxController, const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId); - virtual ~ResourceManager(); + virtual ~ResourceManager() override; /** Remember the given URL as one of a center pane view for which to activate the resource managed by the called object. diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx index 9e4b738533eb..07bef965e3a3 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.hxx +++ b/sd/source/ui/framework/module/ShellStackGuard.hxx @@ -65,7 +65,7 @@ class ShellStackGuard { public: explicit ShellStackGuard (css::uno::Reference<css::frame::XController>& rxController); - virtual ~ShellStackGuard(); + virtual ~ShellStackGuard() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/module/SlideSorterModule.hxx b/sd/source/ui/framework/module/SlideSorterModule.hxx index 4ede6ab08b88..0861ca8b1e47 100644 --- a/sd/source/ui/framework/module/SlideSorterModule.hxx +++ b/sd/source/ui/framework/module/SlideSorterModule.hxx @@ -37,7 +37,7 @@ public: SlideSorterModule ( const css::uno::Reference<css::frame::XController>& rxController, const OUString& rsLeftPaneURL); - virtual ~SlideSorterModule(); + virtual ~SlideSorterModule() override; virtual void SaveResourceState() override; // XConfigurationChangeListener diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx index 876362f032e4..4ffdc335dc3b 100644 --- a/sd/source/ui/framework/module/ToolBarModule.hxx +++ b/sd/source/ui/framework/module/ToolBarModule.hxx @@ -56,7 +56,7 @@ public: */ explicit ToolBarModule ( const css::uno::Reference<css::frame::XController>& rxController); - virtual ~ToolBarModule(); + virtual ~ToolBarModule() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/module/ToolPanelModule.hxx b/sd/source/ui/framework/module/ToolPanelModule.hxx index 3ad688f3c32a..c84a6c8b140f 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.hxx +++ b/sd/source/ui/framework/module/ToolPanelModule.hxx @@ -36,7 +36,7 @@ public: ToolPanelModule ( const css::uno::Reference<css::frame::XController>& rxController, const OUString& rsRightPaneURL); - virtual ~ToolPanelModule(); + virtual ~ToolPanelModule() override; virtual void SaveResourceState() override; // XConfigurationChangeListener diff --git a/sd/source/ui/framework/module/ViewTabBarModule.hxx b/sd/source/ui/framework/module/ViewTabBarModule.hxx index 2f7894da9507..87962f5b977f 100644 --- a/sd/source/ui/framework/module/ViewTabBarModule.hxx +++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx @@ -59,7 +59,7 @@ public: const css::uno::Reference<css::frame::XController>& rxController, const css::uno::Reference< css::drawing::framework::XResourceId>& rxViewTabBarId); - virtual ~ViewTabBarModule(); + virtual ~ViewTabBarModule() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index ed1308ff0b68..8a9728ffd227 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -92,7 +92,7 @@ public: const OUString& rsEventType, const ::sd::framework::FrameworkHelper::ConfigurationChangeEventFilter& rFilter, const ::sd::framework::FrameworkHelper::Callback& rCallback); - virtual ~CallbackCaller(); + virtual ~CallbackCaller() override; virtual void SAL_CALL disposing() override; // XEventListener @@ -127,7 +127,7 @@ class LifetimeController { public: explicit LifetimeController (::sd::ViewShellBase& rBase); - virtual ~LifetimeController(); + virtual ~LifetimeController() override; virtual void SAL_CALL disposing() override; @@ -297,7 +297,7 @@ class FrameworkHelper::DisposeListener { public: explicit DisposeListener (const ::std::shared_ptr<FrameworkHelper>& rpHelper); - virtual ~DisposeListener(); + virtual ~DisposeListener() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx index 1e3e5c03d497..cbd1f747ad65 100644 --- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx +++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx @@ -114,7 +114,7 @@ public: const css::uno::Reference<css::frame::XController>& rxController, const css::uno::Reference<css::accessibility::XAccessible>& rxParent); - virtual ~AccessibleDocumentViewBase(); + virtual ~AccessibleDocumentViewBase() override; /** Initialize a new object. Call this method directly after creating a new object. It finished the initialization begun in the constructor diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx index a67a0927f21e..af0be6c6577c 100644 --- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx +++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx @@ -46,7 +46,7 @@ public: const css::uno::Reference<css::frame::XController>& rxController, const css::uno::Reference<css::accessibility::XAccessible>& rxParent); - virtual ~AccessibleDrawDocumentView(); + virtual ~AccessibleDrawDocumentView() override; /** Complete the initialization begun in the constructor. */ diff --git a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx index fa45de46db8c..f22937128b85 100644 --- a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx +++ b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx @@ -53,7 +53,7 @@ namespace accessibility SdrView& rView, OutlinerView& rOutlView, const vcl::Window& rViewWindow ); - virtual ~AccessibleOutlineEditSource(); + virtual ~AccessibleOutlineEditSource() override; /// This method is disabled and always returns NULL virtual SvxEditSource* Clone() const override; diff --git a/sd/source/ui/inc/AccessibleOutlineView.hxx b/sd/source/ui/inc/AccessibleOutlineView.hxx index ffcdc3b75ed7..fb3b16cdb24e 100644 --- a/sd/source/ui/inc/AccessibleOutlineView.hxx +++ b/sd/source/ui/inc/AccessibleOutlineView.hxx @@ -44,7 +44,7 @@ public: const css::uno::Reference<css::frame::XController>& rxController, const css::uno::Reference<css::accessibility::XAccessible>& rxParent); - virtual ~AccessibleOutlineView(); + virtual ~AccessibleOutlineView() override; /** Complete the initialization begun in the constructor. */ diff --git a/sd/source/ui/inc/AccessiblePageShape.hxx b/sd/source/ui/inc/AccessiblePageShape.hxx index b69abf4075ab..5009c2b243ff 100644 --- a/sd/source/ui/inc/AccessiblePageShape.hxx +++ b/sd/source/ui/inc/AccessiblePageShape.hxx @@ -59,7 +59,7 @@ public: const css::uno::Reference<css::accessibility::XAccessible>& rxParent, const AccessibleShapeTreeInfo& rShapeTreeInfo); - virtual ~AccessiblePageShape(); + virtual ~AccessiblePageShape() override; //===== XAccessibleContext ============================================== diff --git a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx index 649e969d136f..8a43b45c18f8 100644 --- a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx @@ -35,7 +35,7 @@ public: AccessiblePresentationGraphicShape ( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo); - virtual ~AccessiblePresentationGraphicShape(); + virtual ~AccessiblePresentationGraphicShape() override; //===== XServiceInfo ==================================================== diff --git a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx index 85027aa953c4..331e6a4e4600 100644 --- a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx @@ -35,7 +35,7 @@ public: AccessiblePresentationOLEShape ( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo); - virtual ~AccessiblePresentationOLEShape(); + virtual ~AccessiblePresentationOLEShape() override; //===== XServiceInfo ==================================================== diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx index 47873007a327..e32fc4141472 100644 --- a/sd/source/ui/inc/AccessiblePresentationShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx @@ -34,7 +34,7 @@ public: AccessiblePresentationShape ( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo); - virtual ~AccessiblePresentationShape(); + virtual ~AccessiblePresentationShape() override; //===== XServiceInfo ==================================================== diff --git a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx index e269e643309c..49dca89a4b10 100644 --- a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx +++ b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx @@ -66,7 +66,7 @@ public: const css::uno::Reference<css::accessibility::XAccessible >& rxParent, ::sd::slidesorter::SlideSorter& rSlideSorter, sal_uInt16 nPageNumber); - virtual ~AccessibleSlideSorterObject(); + virtual ~AccessibleSlideSorterObject() override; /** Return the page that is made accessible by the called object. */ diff --git a/sd/source/ui/inc/AccessibleSlideSorterView.hxx b/sd/source/ui/inc/AccessibleSlideSorterView.hxx index 99a7b84f2b1a..27be093fdc7c 100644 --- a/sd/source/ui/inc/AccessibleSlideSorterView.hxx +++ b/sd/source/ui/inc/AccessibleSlideSorterView.hxx @@ -69,7 +69,7 @@ public: void Init(); - virtual ~AccessibleSlideSorterView(); + virtual ~AccessibleSlideSorterView() override; /** This method acts like a dispose call. It sends a disposing to all of its listeners. It may be called twice. diff --git a/sd/source/ui/inc/AccessibleViewForwarder.hxx b/sd/source/ui/inc/AccessibleViewForwarder.hxx index 43c3ab65f6f5..552ec61b9db2 100644 --- a/sd/source/ui/inc/AccessibleViewForwarder.hxx +++ b/sd/source/ui/inc/AccessibleViewForwarder.hxx @@ -46,7 +46,7 @@ public: AccessibleViewForwarder (SdrPaintView* pView, OutputDevice& rDevice); - virtual ~AccessibleViewForwarder(); + virtual ~AccessibleViewForwarder() override; //===== IAccessibleViewforwarder ======================================== diff --git a/sd/source/ui/inc/BezierObjectBar.hxx b/sd/source/ui/inc/BezierObjectBar.hxx index b81ea4a90d8e..99340129b573 100644 --- a/sd/source/ui/inc/BezierObjectBar.hxx +++ b/sd/source/ui/inc/BezierObjectBar.hxx @@ -41,7 +41,7 @@ private: public: BezierObjectBar(ViewShell* pSdViewShell, View* pSdView); - virtual ~BezierObjectBar(); + virtual ~BezierObjectBar() override; void GetAttrState(SfxItemSet& rSet); void Execute(SfxRequest &rReq); diff --git a/sd/source/ui/inc/BreakDlg.hxx b/sd/source/ui/inc/BreakDlg.hxx index 635abc7c25be..6c4c93dc243a 100644 --- a/sd/source/ui/inc/BreakDlg.hxx +++ b/sd/source/ui/inc/BreakDlg.hxx @@ -52,7 +52,7 @@ public: DrawDocShell* pShell, sal_uLong nSumActionCount, sal_uLong nObjCount); - virtual ~BreakDlg(); + virtual ~BreakDlg() override; virtual void dispose() override; short Execute() override; diff --git a/sd/source/ui/inc/Client.hxx b/sd/source/ui/inc/Client.hxx index 211d17d6afb2..046d8165c761 100644 --- a/sd/source/ui/inc/Client.hxx +++ b/sd/source/ui/inc/Client.hxx @@ -41,7 +41,7 @@ class Client : public SfxInPlaceClient public: Client (SdrOle2Obj* pObj, ViewShell* pSdViewShell, vcl::Window* pWindow); - virtual ~Client(); + virtual ~Client() override; void SetSdrGrafObj(SdrGrafObj* pObj) { pSdrGrafObj = pObj; } }; diff --git a/sd/source/ui/inc/ClientView.hxx b/sd/source/ui/inc/ClientView.hxx index cb681ad17854..4756b1f4cf10 100644 --- a/sd/source/ui/inc/ClientView.hxx +++ b/sd/source/ui/inc/ClientView.hxx @@ -36,7 +36,7 @@ public: ClientView ( DrawDocShell* pDocSh, OutputDevice* pOutDev); - virtual ~ClientView(); + virtual ~ClientView() override; virtual void CompleteRedraw(OutputDevice* pOutDev, const vcl::Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr) override; diff --git a/sd/source/ui/inc/DocumentRenderer.hxx b/sd/source/ui/inc/DocumentRenderer.hxx index 892636a5123b..146ef5d470a2 100644 --- a/sd/source/ui/inc/DocumentRenderer.hxx +++ b/sd/source/ui/inc/DocumentRenderer.hxx @@ -41,7 +41,7 @@ class DocumentRenderer { public: DocumentRenderer (ViewShellBase& rBase); - virtual ~DocumentRenderer(); + virtual ~DocumentRenderer() override; // XRenderable virtual sal_Int32 SAL_CALL getRendererCount ( diff --git a/sd/source/ui/inc/DrawController.hxx b/sd/source/ui/inc/DrawController.hxx index 04d13a58e9b9..c0a006529b51 100644 --- a/sd/source/ui/inc/DrawController.hxx +++ b/sd/source/ui/inc/DrawController.hxx @@ -99,7 +99,7 @@ public: */ explicit DrawController (ViewShellBase& rBase) throw(); - virtual ~DrawController() throw(); + virtual ~DrawController() throw() override; /** Replace the currently used sub controller with the given one. This new sub controller is used from now on for the view (that is the diff --git a/sd/source/ui/inc/DrawDocShell.hxx b/sd/source/ui/inc/DrawDocShell.hxx index 0dd71b402d5d..8ae7b8347c5a 100644 --- a/sd/source/ui/inc/DrawDocShell.hxx +++ b/sd/source/ui/inc/DrawDocShell.hxx @@ -72,7 +72,7 @@ public: SfxObjectCreateMode eMode = SfxObjectCreateMode::EMBEDDED, bool bSdDataObj=false, DocumentType=DOCUMENT_TYPE_IMPRESS); - virtual ~DrawDocShell(); + virtual ~DrawDocShell() override; void UpdateRefDevice(); virtual void Activate( bool bMDI ) override; diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index a4aa7db6a7a8..76c12b5df5f2 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -91,7 +91,7 @@ public: PageKind ePageKind = PK_STANDARD, FrameView* pFrameView = nullptr); - virtual ~DrawViewShell(); + virtual ~DrawViewShell() override; virtual void Init (bool bIsMainViewShell) override; diff --git a/sd/source/ui/inc/FormShellManager.hxx b/sd/source/ui/inc/FormShellManager.hxx index 463b53924aef..c63773bcb871 100644 --- a/sd/source/ui/inc/FormShellManager.hxx +++ b/sd/source/ui/inc/FormShellManager.hxx @@ -52,7 +52,7 @@ class FormShellManager { public: FormShellManager (ViewShellBase& rBase); - virtual ~FormShellManager(); + virtual ~FormShellManager() override; /** Typically called by a ShellFactory. It tells the FormShellManager which form shell to manage. diff --git a/sd/source/ui/inc/FrameView.hxx b/sd/source/ui/inc/FrameView.hxx index 5e6267693764..8603b1ec7298 100644 --- a/sd/source/ui/inc/FrameView.hxx +++ b/sd/source/ui/inc/FrameView.hxx @@ -38,7 +38,7 @@ class SD_DLLPUBLIC FrameView public: FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView = nullptr ); FrameView(const FrameView& rFrameView); - virtual ~FrameView(); + virtual ~FrameView() override; void Connect(); void Disconnect(); diff --git a/sd/source/ui/inc/GraphicDocShell.hxx b/sd/source/ui/inc/GraphicDocShell.hxx index f98efa1564dd..24080fb607e6 100644 --- a/sd/source/ui/inc/GraphicDocShell.hxx +++ b/sd/source/ui/inc/GraphicDocShell.hxx @@ -55,7 +55,7 @@ public: bool bSdDataObj=false, DocumentType=DOCUMENT_TYPE_DRAW); - virtual ~GraphicDocShell(); + virtual ~GraphicDocShell() override; }; } // end of namespace sd diff --git a/sd/source/ui/inc/GraphicObjectBar.hxx b/sd/source/ui/inc/GraphicObjectBar.hxx index 2bce18b3bda1..bb7cf3b07996 100644 --- a/sd/source/ui/inc/GraphicObjectBar.hxx +++ b/sd/source/ui/inc/GraphicObjectBar.hxx @@ -41,7 +41,7 @@ private: public: GraphicObjectBar (ViewShell* pSdViewShell, ::sd::View* pSdView); - virtual ~GraphicObjectBar(); + virtual ~GraphicObjectBar() override; void GetAttrState( SfxItemSet& rSet ); void Execute( SfxRequest& rReq ); diff --git a/sd/source/ui/inc/GraphicViewShell.hxx b/sd/source/ui/inc/GraphicViewShell.hxx index c1c0e326b3c0..1b0b69143833 100644 --- a/sd/source/ui/inc/GraphicViewShell.hxx +++ b/sd/source/ui/inc/GraphicViewShell.hxx @@ -61,7 +61,7 @@ public: vcl::Window* pParentWindow, FrameView* pFrameView = nullptr); - virtual ~GraphicViewShell(); + virtual ~GraphicViewShell() override; /** Override this method in order to have the layer mode always active. */ diff --git a/sd/source/ui/inc/GraphicViewShellBase.hxx b/sd/source/ui/inc/GraphicViewShellBase.hxx index f94ade5b3fd0..f13b75790045 100644 --- a/sd/source/ui/inc/GraphicViewShellBase.hxx +++ b/sd/source/ui/inc/GraphicViewShellBase.hxx @@ -37,7 +37,7 @@ public: macros. */ GraphicViewShellBase (SfxViewFrame *pFrame, SfxViewShell* pOldShell); - virtual ~GraphicViewShellBase(); + virtual ~GraphicViewShellBase() override; /** Callback function for general slot calls. */ diff --git a/sd/source/ui/inc/ImpressViewShellBase.hxx b/sd/source/ui/inc/ImpressViewShellBase.hxx index 1725834d3685..f4cce44c3424 100644 --- a/sd/source/ui/inc/ImpressViewShellBase.hxx +++ b/sd/source/ui/inc/ImpressViewShellBase.hxx @@ -37,7 +37,7 @@ public: macros. */ ImpressViewShellBase (SfxViewFrame *pFrame, SfxViewShell* pOldShell); - virtual ~ImpressViewShellBase(); + virtual ~ImpressViewShellBase() override; /** Callback function for general slot calls. */ diff --git a/sd/source/ui/inc/LayerTabBar.hxx b/sd/source/ui/inc/LayerTabBar.hxx index ac2fab525ce0..b373a6fcb594 100644 --- a/sd/source/ui/inc/LayerTabBar.hxx +++ b/sd/source/ui/inc/LayerTabBar.hxx @@ -39,7 +39,7 @@ public: DrawViewShell* pDrViewSh, vcl::Window* pParent); virtual void dispose() override; - virtual ~LayerTabBar(); + virtual ~LayerTabBar() override; /** Inform all listeners of this control that the current layer has been activated. Call this method after switching the current layer and is diff --git a/sd/source/ui/inc/MasterPageObserver.hxx b/sd/source/ui/inc/MasterPageObserver.hxx index 561b52b7c841..f73db7239c86 100644 --- a/sd/source/ui/inc/MasterPageObserver.hxx +++ b/sd/source/ui/inc/MasterPageObserver.hxx @@ -80,7 +80,7 @@ private: ::std::unique_ptr<Implementation> mpImpl; MasterPageObserver(); - virtual ~MasterPageObserver(); + virtual ~MasterPageObserver() override; MasterPageObserver (const MasterPageObserver&) = delete; diff --git a/sd/source/ui/inc/MediaObjectBar.hxx b/sd/source/ui/inc/MediaObjectBar.hxx index cf6395ce46a6..9e28051fc4c9 100644 --- a/sd/source/ui/inc/MediaObjectBar.hxx +++ b/sd/source/ui/inc/MediaObjectBar.hxx @@ -42,7 +42,7 @@ private: public: MediaObjectBar (ViewShell* pSdViewShell, ::sd::View* pSdView); - virtual ~MediaObjectBar(); + virtual ~MediaObjectBar() override; void GetState( SfxItemSet& rSet ); void Execute( SfxRequest& rReq ); diff --git a/sd/source/ui/inc/OutlineBulletDlg.hxx b/sd/source/ui/inc/OutlineBulletDlg.hxx index 418d56b65e3f..53c3388f7bb1 100644 --- a/sd/source/ui/inc/OutlineBulletDlg.hxx +++ b/sd/source/ui/inc/OutlineBulletDlg.hxx @@ -37,7 +37,7 @@ public: vcl::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView ); - virtual ~OutlineBulletDlg (); + virtual ~OutlineBulletDlg () override; virtual void dispose() override; const SfxItemSet* GetOutputItemSet() const; diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index daf8e90e2f5b..af61c547f18d 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -60,7 +60,7 @@ public: OutlineView (DrawDocShell& rDocSh, vcl::Window* pWindow, OutlineViewShell& rOutlineViewSh); - virtual ~OutlineView(); + virtual ~OutlineView() override; /** This method is called by the view shell that owns the view to tell the view that it can safely connect to the application. diff --git a/sd/source/ui/inc/OutlineViewShell.hxx b/sd/source/ui/inc/OutlineViewShell.hxx index 214edd90eff7..b5cb1266e823 100644 --- a/sd/source/ui/inc/OutlineViewShell.hxx +++ b/sd/source/ui/inc/OutlineViewShell.hxx @@ -58,7 +58,7 @@ public: vcl::Window* pParentWindow, FrameView* pFrameView = nullptr); - virtual ~OutlineViewShell(); + virtual ~OutlineViewShell() override; virtual void Shutdown() override; diff --git a/sd/source/ui/inc/OutlineViewShellBase.hxx b/sd/source/ui/inc/OutlineViewShellBase.hxx index 43b04a3332cd..266b59721db6 100644 --- a/sd/source/ui/inc/OutlineViewShellBase.hxx +++ b/sd/source/ui/inc/OutlineViewShellBase.hxx @@ -37,7 +37,7 @@ public: macros. */ OutlineViewShellBase (SfxViewFrame *pFrame, SfxViewShell* pOldShell); - virtual ~OutlineViewShellBase(); + virtual ~OutlineViewShellBase() override; }; } // end of namespace sd diff --git a/sd/source/ui/inc/OutlinerIteratorImpl.hxx b/sd/source/ui/inc/OutlinerIteratorImpl.hxx index e0ed58609618..e76d2ca748a3 100644 --- a/sd/source/ui/inc/OutlinerIteratorImpl.hxx +++ b/sd/source/ui/inc/OutlinerIteratorImpl.hxx @@ -136,7 +136,7 @@ public: const std::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward); SelectionIteratorImpl (const SelectionIteratorImpl& rObject); - virtual ~SelectionIteratorImpl(); + virtual ~SelectionIteratorImpl() override; virtual void GotoNextText() override; virtual const IteratorPosition& GetPosition() override; @@ -182,7 +182,7 @@ public: bool bDirectionIsForward, PageKind ePageKind, EditMode eEditMode); - virtual ~ViewIteratorImpl(); + virtual ~ViewIteratorImpl() override; virtual void GotoNextText() override; virtual IteratorImplBase* Clone (IteratorImplBase* pObject = nullptr) const override; @@ -225,7 +225,7 @@ public: SdDrawDocument* pDocument, const std::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward); - virtual ~DocumentIteratorImpl(); + virtual ~DocumentIteratorImpl() override; virtual void GotoNextText() override; virtual IteratorImplBase* Clone (IteratorImplBase* pObject = nullptr) const override; diff --git a/sd/source/ui/inc/PaneChildWindows.hxx b/sd/source/ui/inc/PaneChildWindows.hxx index f9a63bab4093..0d0d1c36b3ec 100644 --- a/sd/source/ui/inc/PaneChildWindows.hxx +++ b/sd/source/ui/inc/PaneChildWindows.hxx @@ -34,7 +34,7 @@ public: SfxBindings* pBindings, SfxChildWinInfo* pInfo, const sal_uInt16 nTitleBarResId); - virtual ~PaneChildWindow(); + virtual ~PaneChildWindow() override; }; class LeftPaneImpressChildWindow diff --git a/sd/source/ui/inc/PaneDockingWindow.hxx b/sd/source/ui/inc/PaneDockingWindow.hxx index b860a04ec04a..a0dd38b82e0d 100644 --- a/sd/source/ui/inc/PaneDockingWindow.hxx +++ b/sd/source/ui/inc/PaneDockingWindow.hxx @@ -50,7 +50,7 @@ public: vcl::Window* pParent, const OUString& rsTitle); - virtual ~PaneDockingWindow(); + virtual ~PaneDockingWindow() override; virtual void StateChanged( StateChangedType nType ) override; virtual void MouseButtonDown (const MouseEvent& rEvent) override; /** When docked the given range is passed to the parent SplitWindow. diff --git a/sd/source/ui/inc/PaneShells.hxx b/sd/source/ui/inc/PaneShells.hxx index e1b9df9e6ab8..18f78068a4b3 100644 --- a/sd/source/ui/inc/PaneShells.hxx +++ b/sd/source/ui/inc/PaneShells.hxx @@ -41,7 +41,7 @@ private: public: LeftImpressPaneShell(); - virtual ~LeftImpressPaneShell(); + virtual ~LeftImpressPaneShell() override; }; /** Shell that displays the left pane for Draw. The shell does not do @@ -59,7 +59,7 @@ private: public: LeftDrawPaneShell(); - virtual ~LeftDrawPaneShell(); + virtual ~LeftDrawPaneShell() override; }; } // end of namespace sd diff --git a/sd/source/ui/inc/PresentationViewShell.hxx b/sd/source/ui/inc/PresentationViewShell.hxx index 0f7a481e5989..8444923ac508 100644 --- a/sd/source/ui/inc/PresentationViewShell.hxx +++ b/sd/source/ui/inc/PresentationViewShell.hxx @@ -39,7 +39,7 @@ private: public: PresentationViewShell( SfxViewFrame* pFrame, ViewShellBase& rViewShellBase, vcl::Window* pParentWindow, FrameView* pFrameView = nullptr); - virtual ~PresentationViewShell(); + virtual ~PresentationViewShell() override; /** This method is used by a simple class that passes some arguments from the creator of the new view shell to the new view diff --git a/sd/source/ui/inc/PresentationViewShellBase.hxx b/sd/source/ui/inc/PresentationViewShellBase.hxx index 66a8ad4e0564..8c23c604aaf5 100644 --- a/sd/source/ui/inc/PresentationViewShellBase.hxx +++ b/sd/source/ui/inc/PresentationViewShellBase.hxx @@ -37,7 +37,7 @@ public: macros. */ PresentationViewShellBase (SfxViewFrame *pFrame, SfxViewShell* pOldShell); - virtual ~PresentationViewShellBase(); + virtual ~PresentationViewShellBase() override; protected: virtual void InitializeFramework() override; diff --git a/sd/source/ui/inc/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx index 004dc228d68e..fb3c4bd83211 100644 --- a/sd/source/ui/inc/PreviewRenderer.hxx +++ b/sd/source/ui/inc/PreviewRenderer.hxx @@ -47,7 +47,7 @@ public: */ PreviewRenderer(const bool bPaintFrame = true); - virtual ~PreviewRenderer(); + virtual ~PreviewRenderer() override; /** Render a page with the given pixel size. Use this version when only the width of the preview is known to the diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx index 97fb55c2b515..00c58105aae6 100644 --- a/sd/source/ui/inc/RemoteServer.hxx +++ b/sd/source/ui/inc/RemoteServer.hxx @@ -83,7 +83,7 @@ namespace sd static void removeCommunicator( Communicator* pCommunicator ); private: RemoteServer(); - virtual ~RemoteServer(); + virtual ~RemoteServer() override; static RemoteServer *spServer; static ::osl::Mutex sDataMutex; static ::std::vector<Communicator*> sCommunicators; diff --git a/sd/source/ui/inc/Ruler.hxx b/sd/source/ui/inc/Ruler.hxx index e96e64e841f3..a83eeb9618e6 100644 --- a/sd/source/ui/inc/Ruler.hxx +++ b/sd/source/ui/inc/Ruler.hxx @@ -40,7 +40,7 @@ public: SvxRulerSupportFlags nRulerFlags, SfxBindings& rBindings, WinBits nWinStyle); - virtual ~Ruler(); + virtual ~Ruler() override; virtual void dispose() override; void SetNullOffset(const Point& rOffset); diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index 890abd34e4fc..5a1790a3cc42 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -44,7 +44,7 @@ public: SdUnoDrawView ( DrawViewShell& rViewShell, View& rView) throw(); - virtual ~SdUnoDrawView() throw(); + virtual ~SdUnoDrawView() throw() override; // XSelectionSupplier diff --git a/sd/source/ui/inc/SdUnoOutlineView.hxx b/sd/source/ui/inc/SdUnoOutlineView.hxx index c5566ee2c5de..f305f2b57b4d 100644 --- a/sd/source/ui/inc/SdUnoOutlineView.hxx +++ b/sd/source/ui/inc/SdUnoOutlineView.hxx @@ -37,7 +37,7 @@ class SdUnoOutlineView public: SdUnoOutlineView ( OutlineViewShell& rViewShell) throw(); - virtual ~SdUnoOutlineView() throw(); + virtual ~SdUnoOutlineView() throw() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/SdUnoSlideView.hxx b/sd/source/ui/inc/SdUnoSlideView.hxx index 2188291bf9e4..ad80e3e5ad2a 100644 --- a/sd/source/ui/inc/SdUnoSlideView.hxx +++ b/sd/source/ui/inc/SdUnoSlideView.hxx @@ -40,7 +40,7 @@ class SdUnoSlideView public: SdUnoSlideView ( slidesorter::SlideSorter& rSlideSorter) throw(); - virtual ~SdUnoSlideView() throw(); + virtual ~SdUnoSlideView() throw() override; // XSelectionSupplier diff --git a/sd/source/ui/inc/SlideSorterViewShell.hxx b/sd/source/ui/inc/SlideSorterViewShell.hxx index ec0922bae1a6..c6f1eb97cded 100644 --- a/sd/source/ui/inc/SlideSorterViewShell.hxx +++ b/sd/source/ui/inc/SlideSorterViewShell.hxx @@ -56,7 +56,7 @@ public: FrameView* pFrameView, const bool bIsCenterPane); - virtual ~SlideSorterViewShell(); + virtual ~SlideSorterViewShell() override; /** Late initialization that has to be called after a new instance has completed its construction. diff --git a/sd/source/ui/inc/SlideSorterViewShellBase.hxx b/sd/source/ui/inc/SlideSorterViewShellBase.hxx index b5914ddcce54..2e3644db5bed 100644 --- a/sd/source/ui/inc/SlideSorterViewShellBase.hxx +++ b/sd/source/ui/inc/SlideSorterViewShellBase.hxx @@ -37,7 +37,7 @@ public: macros. */ SlideSorterViewShellBase (SfxViewFrame *pFrame, SfxViewShell* pOldShell); - virtual ~SlideSorterViewShellBase(); + virtual ~SlideSorterViewShellBase() override; }; } // end of namespace sd diff --git a/sd/source/ui/inc/SlideTransitionPane.hxx b/sd/source/ui/inc/SlideTransitionPane.hxx index e5da099de2e5..2fd437959063 100755 --- a/sd/source/ui/inc/SlideTransitionPane.hxx +++ b/sd/source/ui/inc/SlideTransitionPane.hxx @@ -64,7 +64,7 @@ public: SdDrawDocument* pDoc, const css::uno::Reference<css::frame::XFrame>& rxFrame, bool bHorizontalLayout ); - virtual ~SlideTransitionPane(); + virtual ~SlideTransitionPane() override; virtual void dispose() override; // Window diff --git a/sd/source/ui/inc/SpellDialogChildWindow.hxx b/sd/source/ui/inc/SpellDialogChildWindow.hxx index 3d6f654fee50..9e9ab3b1c8f3 100644 --- a/sd/source/ui/inc/SpellDialogChildWindow.hxx +++ b/sd/source/ui/inc/SpellDialogChildWindow.hxx @@ -40,7 +40,7 @@ public: sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo); - virtual ~SpellDialogChildWindow(); + virtual ~SpellDialogChildWindow() override; /** This method makes the one from the base class public so that it can be called from the view shell when one is created. diff --git a/sd/source/ui/inc/TabControl.hxx b/sd/source/ui/inc/TabControl.hxx index 53e762252b36..d748fe38d4a5 100644 --- a/sd/source/ui/inc/TabControl.hxx +++ b/sd/source/ui/inc/TabControl.hxx @@ -41,7 +41,7 @@ class TabControl public: TabControl (DrawViewShell* pDrViewSh, vcl::Window* pParent); virtual void dispose() override; - virtual ~TabControl(); + virtual ~TabControl() override; /** Inform all listeners of this control that the current page has been activated. Call this method after switching the current page and is @@ -91,7 +91,7 @@ private: TabControl& mrParent; - virtual ~TabControlTransferable(); + virtual ~TabControlTransferable() override; virtual void AddSupportedFormats() override; virtual bool GetData( const css::datatransfer::DataFlavor& rFlavor, const OUString& rDestDoc ) override; diff --git a/sd/source/ui/inc/TextObjectBar.hxx b/sd/source/ui/inc/TextObjectBar.hxx index 1475782597f7..9277a09865da 100644 --- a/sd/source/ui/inc/TextObjectBar.hxx +++ b/sd/source/ui/inc/TextObjectBar.hxx @@ -46,7 +46,7 @@ public: ViewShell* pSdViewShell, SfxItemPool& rItemPool, ::sd::View* pSdView); - virtual ~TextObjectBar(); + virtual ~TextObjectBar() override; void GetAttrState( SfxItemSet& rSet ); void GetCharState( SfxItemSet& rSet ); diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx index e8c4e370b876..8c44cb83d185 100644 --- a/sd/source/ui/inc/View.hxx +++ b/sd/source/ui/inc/View.hxx @@ -81,7 +81,7 @@ public: SdDrawDocument& rDrawDoc, OutputDevice* pOutDev, ViewShell* pViewSh=nullptr); - virtual ~View(); + virtual ~View() override; void CompleteRedraw( OutputDevice* pOutDev, const vcl::Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr) override; diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx index 4af99de2b4a9..ef06d29524b8 100644 --- a/sd/source/ui/inc/ViewShell.hxx +++ b/sd/source/ui/inc/ViewShell.hxx @@ -113,7 +113,7 @@ public: SfxViewFrame *pFrame, vcl::Window* pParentWindow, ViewShellBase& rViewShellBase); - virtual ~ViewShell(); + virtual ~ViewShell() override; /** The Init method has to be called from the outside directly after a new object of this class has been created. It can be diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx index b2c5e47d5b0d..dca78c06c58b 100644 --- a/sd/source/ui/inc/ViewShellBase.hxx +++ b/sd/source/ui/inc/ViewShellBase.hxx @@ -76,7 +76,7 @@ public: SfxViewFrame *pFrame, SfxViewShell* pOldShell); - virtual ~ViewShellBase(); + virtual ~ViewShellBase() override; /** This method is part of the object construction. It HAS to be called after the constructor has created a new object. diff --git a/sd/source/ui/inc/ViewTabBar.hxx b/sd/source/ui/inc/ViewTabBar.hxx index b43b19f9acc1..a15e849e1bc6 100644 --- a/sd/source/ui/inc/ViewTabBar.hxx +++ b/sd/source/ui/inc/ViewTabBar.hxx @@ -60,7 +60,7 @@ public: ViewTabBar ( const css::uno::Reference< css::drawing::framework::XResourceId>& rxViewTabBarId, const css::uno::Reference< css::frame::XController>& rxController); - virtual ~ViewTabBar(); + virtual ~ViewTabBar() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx index e76762011a87..4a9a3da0c0f8 100644 --- a/sd/source/ui/inc/Window.hxx +++ b/sd/source/ui/inc/Window.hxx @@ -45,7 +45,7 @@ class Window { public: Window (vcl::Window* pParent); - virtual ~Window (); + virtual ~Window () override; virtual void dispose() override; void SetViewShell (ViewShell* pViewSh); diff --git a/sd/source/ui/inc/WindowUpdater.hxx b/sd/source/ui/inc/WindowUpdater.hxx index 30c92d65578c..fe531de9735a 100644 --- a/sd/source/ui/inc/WindowUpdater.hxx +++ b/sd/source/ui/inc/WindowUpdater.hxx @@ -55,7 +55,7 @@ class SD_DLLPUBLIC WindowUpdater { public: explicit WindowUpdater(); - virtual ~WindowUpdater() throw(); + virtual ~WindowUpdater() throw() override; /** Add the given device to the list of devices which will be updated when one of the monitored values changes. diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx index 660e739cafa9..f49c418274ca 100644 --- a/sd/source/ui/inc/animobjs.hxx +++ b/sd/source/ui/inc/animobjs.hxx @@ -66,7 +66,7 @@ private: public: SdDisplay(vcl::Window* pWin); - virtual ~SdDisplay(); + virtual ~SdDisplay() override; virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override; @@ -84,7 +84,7 @@ class AnimationWindow : public SfxDockingWindow public: AnimationWindow(SfxBindings* pBindings, SfxChildWindow *pCW, vcl::Window* pParent); - virtual ~AnimationWindow(); + virtual ~AnimationWindow() override; virtual void dispose() override; void AddObj( ::sd::View& rView ); diff --git a/sd/source/ui/inc/copydlg.hxx b/sd/source/ui/inc/copydlg.hxx index f3398cc75cb2..8c979b836ad4 100644 --- a/sd/source/ui/inc/copydlg.hxx +++ b/sd/source/ui/inc/copydlg.hxx @@ -41,7 +41,7 @@ class CopyDlg public: CopyDlg( vcl::Window* pWindow, const SfxItemSet& rInAttrs, const XColorListRef &pColList, ::sd::View* pView ); - virtual ~CopyDlg(); + virtual ~CopyDlg() override; virtual void dispose() override; void GetAttr( SfxItemSet& rOutAttrs ); diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx index adb694d01c0e..ca49b4c0142a 100644 --- a/sd/source/ui/inc/custsdlg.hxx +++ b/sd/source/ui/inc/custsdlg.hxx @@ -58,7 +58,7 @@ private: public: SdCustomShowDlg( vcl::Window* pWindow, SdDrawDocument& rDrawDoc ); - virtual ~SdCustomShowDlg(); + virtual ~SdCustomShowDlg() override; virtual void dispose() override; bool IsModified() const { return bModified; } bool IsCustomShow() const; @@ -95,7 +95,7 @@ public: SdDefineCustomShowDlg( vcl::Window* pWindow, SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS ); - virtual ~SdDefineCustomShowDlg(); + virtual ~SdDefineCustomShowDlg() override; virtual void dispose() override; bool IsModified() const { return bModified; } diff --git a/sd/source/ui/inc/diactrl.hxx b/sd/source/ui/inc/diactrl.hxx index 6e5a725616fd..93ff077e4a4d 100644 --- a/sd/source/ui/inc/diactrl.hxx +++ b/sd/source/ui/inc/diactrl.hxx @@ -42,7 +42,7 @@ protected: public: SdPagesField( vcl::Window* pParent, const css::uno::Reference< css::frame::XFrame >& rFrame ); - virtual ~SdPagesField(); + virtual ~SdPagesField() override; void UpdatePagesField( const SfxUInt16Item* pItem ); }; @@ -59,7 +59,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxCtlDiaPages( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - virtual ~SdTbxCtlDiaPages(); + virtual ~SdTbxCtlDiaPages() override; }; #endif // INCLUDED_SD_SOURCE_UI_INC_DIACTRL_HXX diff --git a/sd/source/ui/inc/dlg_char.hxx b/sd/source/ui/inc/dlg_char.hxx index 361afd859756..fb264115d7a6 100644 --- a/sd/source/ui/inc/dlg_char.hxx +++ b/sd/source/ui/inc/dlg_char.hxx @@ -44,7 +44,7 @@ public: SdCharDlg( vcl::Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell ); - virtual ~SdCharDlg() {}; + virtual ~SdCharDlg() override {}; }; #endif // INCLUDED_SD_SOURCE_UI_INC_DLG_CHAR_HXX diff --git a/sd/source/ui/inc/dlgctrls.hxx b/sd/source/ui/inc/dlgctrls.hxx index a8ae4ac905c2..06bec9386321 100644 --- a/sd/source/ui/inc/dlgctrls.hxx +++ b/sd/source/ui/inc/dlgctrls.hxx @@ -36,7 +36,7 @@ class SD_DLLPUBLIC FadeEffectLB : public ListBox { public: FadeEffectLB(vcl::Window* pParent, WinBits nStyle); - virtual ~FadeEffectLB(); + virtual ~FadeEffectLB() override; virtual void dispose() override; void Fill(); diff --git a/sd/source/ui/inc/dlgfield.hxx b/sd/source/ui/inc/dlgfield.hxx index 853b6205347f..e36869ae49ea 100644 --- a/sd/source/ui/inc/dlgfield.hxx +++ b/sd/source/ui/inc/dlgfield.hxx @@ -49,7 +49,7 @@ private: public: SdModifyFieldDlg( vcl::Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ); - virtual ~SdModifyFieldDlg(); + virtual ~SdModifyFieldDlg() override; virtual void dispose() override; SvxFieldData* GetField(); diff --git a/sd/source/ui/inc/dlgpage.hxx b/sd/source/ui/inc/dlgpage.hxx index 4818c66ce19a..21f78905531b 100644 --- a/sd/source/ui/inc/dlgpage.hxx +++ b/sd/source/ui/inc/dlgpage.hxx @@ -44,7 +44,7 @@ private: public: SdPageDlg( SfxObjectShell* pDocSh, vcl::Window* pParent, const SfxItemSet* pAttr, bool bAreaPage = true ); - virtual ~SdPageDlg() {}; + virtual ~SdPageDlg() override {}; virtual void PageCreated(sal_uInt16 nId, SfxTabPage& rPage) override; }; diff --git a/sd/source/ui/inc/dlgsnap.hxx b/sd/source/ui/inc/dlgsnap.hxx index 976dadd86ab6..138d4e331f53 100644 --- a/sd/source/ui/inc/dlgsnap.hxx +++ b/sd/source/ui/inc/dlgsnap.hxx @@ -59,7 +59,7 @@ private: public: SdSnapLineDlg(vcl::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView); - virtual ~SdSnapLineDlg(); + virtual ~SdSnapLineDlg() override; virtual void dispose() override; void GetAttr(SfxItemSet& rOutAttrs); diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx index ee7900c60615..ddcae4bdfa86 100644 --- a/sd/source/ui/inc/docprev.hxx +++ b/sd/source/ui/inc/docprev.hxx @@ -61,7 +61,7 @@ protected: public: SdDocPreviewWin( vcl::Window* pParent, const WinBits nStyle ); - virtual ~SdDocPreviewWin(); + virtual ~SdDocPreviewWin() override; virtual void dispose() override; void SetObjectShell( SfxObjectShell* pObj, sal_uInt16 nShowPage ); virtual void Resize() override; diff --git a/sd/source/ui/inc/drawview.hxx b/sd/source/ui/inc/drawview.hxx index e054855ddd5d..6543b1c017fe 100644 --- a/sd/source/ui/inc/drawview.hxx +++ b/sd/source/ui/inc/drawview.hxx @@ -38,7 +38,7 @@ public: DrawDocShell* pDocSh, OutputDevice* pOutDev, DrawViewShell* pShell); - virtual ~DrawView(); + virtual ~DrawView() override; virtual void MarkListHasChanged() override; void CompleteRedraw(OutputDevice* pOutDev, const vcl::Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr) override; diff --git a/sd/source/ui/inc/framework/Configuration.hxx b/sd/source/ui/inc/framework/Configuration.hxx index 23c32f8832ac..03b127239f5f 100644 --- a/sd/source/ui/inc/framework/Configuration.hxx +++ b/sd/source/ui/inc/framework/Configuration.hxx @@ -80,7 +80,7 @@ public: */ Configuration (const css::uno::Reference<css::drawing::framework::XConfigurationControllerBroadcaster>& rxBroadcaster, bool bBroadcastRequestEvents); - virtual ~Configuration(); + virtual ~Configuration() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx index dbb9cc945be4..1552c2937348 100644 --- a/sd/source/ui/inc/framework/ConfigurationController.hxx +++ b/sd/source/ui/inc/framework/ConfigurationController.hxx @@ -62,7 +62,7 @@ class ConfigurationController { public: ConfigurationController() throw(); - virtual ~ConfigurationController() throw(); + virtual ~ConfigurationController() throw() override; ConfigurationController(const ConfigurationController&) = delete; ConfigurationController& operator=(const ConfigurationController&) = delete; diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index a6b15941d6cf..d834e3d35126 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -319,7 +319,7 @@ private: FrameworkHelper (ViewShellBase& rBase); FrameworkHelper (const FrameworkHelper& rHelper) = delete; - virtual ~FrameworkHelper(); + virtual ~FrameworkHelper() override; class Deleter; friend class Deleter; FrameworkHelper& operator= (const FrameworkHelper& rHelper) = delete; diff --git a/sd/source/ui/inc/framework/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx index a611ecf3f9bf..54e872f477d1 100644 --- a/sd/source/ui/inc/framework/ModuleController.hxx +++ b/sd/source/ui/inc/framework/ModuleController.hxx @@ -98,7 +98,7 @@ private: const css::uno::Reference<css::uno::XComponentContext>& rxContext) throw (std::exception); ModuleController (const ModuleController&) = delete; - virtual ~ModuleController() throw(); + virtual ~ModuleController() throw() override; /** Load a list of URL to service mappings from the /org.openoffice.Office.Impress/MultiPaneGUI/Framework/ResourceFactories diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx index 30d7133e1ac3..d2d1233bab09 100644 --- a/sd/source/ui/inc/framework/Pane.hxx +++ b/sd/source/ui/inc/framework/Pane.hxx @@ -75,7 +75,7 @@ public: const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId, vcl::Window* pWindow) throw (); - virtual ~Pane(); + virtual ~Pane() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/framework/PresentationFactory.hxx b/sd/source/ui/inc/framework/PresentationFactory.hxx index 586b8bdadaf8..1b17080896c3 100644 --- a/sd/source/ui/inc/framework/PresentationFactory.hxx +++ b/sd/source/ui/inc/framework/PresentationFactory.hxx @@ -57,7 +57,7 @@ public: PresentationFactory ( const css::uno::Reference<css::frame::XController>& rxController); - virtual ~PresentationFactory(); + virtual ~PresentationFactory() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx index 32268a064120..fea9aa39f680 100644 --- a/sd/source/ui/inc/framework/ResourceId.hxx +++ b/sd/source/ui/inc/framework/ResourceId.hxx @@ -99,7 +99,7 @@ public: const OUString& rsFirstAnchorURL, const css::uno::Sequence<OUString>& rAnchorURLs); - virtual ~ResourceId(); + virtual ~ResourceId() override; //===== XResourceId ======================================================= diff --git a/sd/source/ui/inc/framework/ViewShellWrapper.hxx b/sd/source/ui/inc/framework/ViewShellWrapper.hxx index 3f7b12e82242..909f6fdd50ae 100644 --- a/sd/source/ui/inc/framework/ViewShellWrapper.hxx +++ b/sd/source/ui/inc/framework/ViewShellWrapper.hxx @@ -71,7 +71,7 @@ public: ::std::shared_ptr<ViewShell> pViewShell, const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId, const css::uno::Reference<css::awt::XWindow>& rxWindow); - virtual ~ViewShellWrapper(); + virtual ~ViewShellWrapper() override; virtual void SAL_CALL disposing() override; virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/sd/source/ui/inc/fudraw.hxx b/sd/source/ui/inc/fudraw.hxx index 084161d2a22e..64bcde950f80 100644 --- a/sd/source/ui/inc/fudraw.hxx +++ b/sd/source/ui/inc/fudraw.hxx @@ -68,7 +68,7 @@ protected: SdDrawDocument* pDoc, SfxRequest& rReq); - virtual ~FuDraw(); + virtual ~FuDraw() override; Pointer aNewPointer; Pointer aOldPointer; diff --git a/sd/source/ui/inc/fudspord.hxx b/sd/source/ui/inc/fudspord.hxx index 24d61cafe26e..0b73be462ef2 100644 --- a/sd/source/ui/inc/fudspord.hxx +++ b/sd/source/ui/inc/fudspord.hxx @@ -44,7 +44,7 @@ public: virtual void Deactivate() override; protected: - virtual ~FuDisplayOrder(); + virtual ~FuDisplayOrder() override; void implClearOverlay(); Pointer maPtr; diff --git a/sd/source/ui/inc/fuediglu.hxx b/sd/source/ui/inc/fuediglu.hxx index 97f678eeb09c..3abdd8a300fb 100644 --- a/sd/source/ui/inc/fuediglu.hxx +++ b/sd/source/ui/inc/fuediglu.hxx @@ -56,7 +56,7 @@ protected: ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq); - virtual ~FuEditGluePoints(); + virtual ~FuEditGluePoints() override; }; } // end of namespace sd diff --git a/sd/source/ui/inc/fuhhconv.hxx b/sd/source/ui/inc/fuhhconv.hxx index 38daed572a00..6812a5628af8 100644 --- a/sd/source/ui/inc/fuhhconv.hxx +++ b/sd/source/ui/inc/fuhhconv.hxx @@ -40,7 +40,7 @@ public: void ConvertStyles( sal_Int16 nTargetLanguage, const vcl::Font *pTargetFont ); protected: - virtual ~FuHangulHanjaConversion(); + virtual ~FuHangulHanjaConversion() override; Outliner* pSdOutliner; bool bOwnOutliner; diff --git a/sd/source/ui/inc/fupage.hxx b/sd/source/ui/inc/fupage.hxx index 059d2a70da7e..fe17d2a5341a 100644 --- a/sd/source/ui/inc/fupage.hxx +++ b/sd/source/ui/inc/fupage.hxx @@ -43,7 +43,7 @@ class FuPage const SfxItemSet* ExecuteDialog( vcl::Window* pParent ); protected: - virtual ~FuPage(); + virtual ~FuPage() override; private: FuPage ( diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx index b4be259eef2c..b4534ef7f3d5 100644 --- a/sd/source/ui/inc/fupoor.hxx +++ b/sd/source/ui/inc/fupoor.hxx @@ -117,7 +117,7 @@ protected: ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq); - virtual ~FuPoor(); + virtual ~FuPoor() override; DECL_LINK_TYPED( DelayHdl, Timer *, void ); diff --git a/sd/source/ui/inc/fusearch.hxx b/sd/source/ui/inc/fusearch.hxx index eae95979f413..bf3ba5451891 100644 --- a/sd/source/ui/inc/fusearch.hxx +++ b/sd/source/ui/inc/fusearch.hxx @@ -38,7 +38,7 @@ public: void SearchAndReplace( const SvxSearchItem* pSearchItem ); protected: - virtual ~FuSearch(); + virtual ~FuSearch() override; ::sd::Outliner* pSdOutliner; bool bOwnOutliner; diff --git a/sd/source/ui/inc/fusel.hxx b/sd/source/ui/inc/fusel.hxx index 9aabd0816ec4..62d5e1b9a10f 100644 --- a/sd/source/ui/inc/fusel.hxx +++ b/sd/source/ui/inc/fusel.hxx @@ -70,7 +70,7 @@ protected: SdDrawDocument* pDoc, SfxRequest& rReq); - virtual ~FuSelection(); + virtual ~FuSelection() override; bool bTempRotation; bool bSelectionChanged; diff --git a/sd/source/ui/inc/fuzoom.hxx b/sd/source/ui/inc/fuzoom.hxx index 887ee7c05c41..fe4dbaae5729 100644 --- a/sd/source/ui/inc/fuzoom.hxx +++ b/sd/source/ui/inc/fuzoom.hxx @@ -43,7 +43,7 @@ public: virtual void Deactivate() override; ///< deactivates the function protected: - virtual ~FuZoom(); + virtual ~FuZoom() override; Point aBeginPosPix; Point aBeginPos; diff --git a/sd/source/ui/inc/gluectrl.hxx b/sd/source/ui/inc/gluectrl.hxx index 864cd1c02ba7..9da2e24e438c 100644 --- a/sd/source/ui/inc/gluectrl.hxx +++ b/sd/source/ui/inc/gluectrl.hxx @@ -35,7 +35,7 @@ private: public: GlueEscDirLB( vcl::Window* pParent, const css::uno::Reference< css::frame::XFrame >& rFrame ); - virtual ~GlueEscDirLB(); + virtual ~GlueEscDirLB() override; virtual void Select() override; @@ -58,7 +58,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxCtlGlueEscDir( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - virtual ~SdTbxCtlGlueEscDir() {} + virtual ~SdTbxCtlGlueEscDir() override {} }; #endif // INCLUDED_SD_SOURCE_UI_INC_GLUECTRL_HXX diff --git a/sd/source/ui/inc/headerfooterdlg.hxx b/sd/source/ui/inc/headerfooterdlg.hxx index 9455a484aad6..5a2872e625e2 100644 --- a/sd/source/ui/inc/headerfooterdlg.hxx +++ b/sd/source/ui/inc/headerfooterdlg.hxx @@ -66,7 +66,7 @@ private: public: HeaderFooterDialog( ViewShell* pViewShell, vcl::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage ); - virtual ~HeaderFooterDialog(); + virtual ~HeaderFooterDialog() override; virtual void dispose() override; void ApplyToAll(); diff --git a/sd/source/ui/inc/ins_paste.hxx b/sd/source/ui/inc/ins_paste.hxx index e1ec527e3773..823d09941ac6 100644 --- a/sd/source/ui/inc/ins_paste.hxx +++ b/sd/source/ui/inc/ins_paste.hxx @@ -36,7 +36,7 @@ private: public: SdInsertPasteDlg( vcl::Window* pWindow ); - virtual ~SdInsertPasteDlg(); + virtual ~SdInsertPasteDlg() override; virtual void dispose() override; bool IsInsertBefore() const; }; diff --git a/sd/source/ui/inc/inspagob.hxx b/sd/source/ui/inc/inspagob.hxx index 137e100b9127..cbe108de5891 100644 --- a/sd/source/ui/inc/inspagob.hxx +++ b/sd/source/ui/inc/inspagob.hxx @@ -45,7 +45,7 @@ public: const SdDrawDocument* pDoc, SfxMedium* pSfxMedium, const OUString& rFileName ); - virtual ~SdInsertPagesObjsDlg(); + virtual ~SdInsertPagesObjsDlg() override; virtual void dispose() override; /** returns the list diff --git a/sd/source/ui/inc/layeroptionsdlg.hxx b/sd/source/ui/inc/layeroptionsdlg.hxx index 4e0ec6bf0564..312dd424a286 100644 --- a/sd/source/ui/inc/layeroptionsdlg.hxx +++ b/sd/source/ui/inc/layeroptionsdlg.hxx @@ -48,7 +48,7 @@ public: SdInsertLayerDlg( vcl::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, const OUString& rStr ); - virtual ~SdInsertLayerDlg(); + virtual ~SdInsertLayerDlg() override; virtual void dispose() override; void GetAttr( SfxItemSet& rOutAttrs ); diff --git a/sd/source/ui/inc/masterlayoutdlg.hxx b/sd/source/ui/inc/masterlayoutdlg.hxx index 95bf06642070..c45e975e09d4 100644 --- a/sd/source/ui/inc/masterlayoutdlg.hxx +++ b/sd/source/ui/inc/masterlayoutdlg.hxx @@ -54,7 +54,7 @@ private: public: MasterLayoutDialog( vcl::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage ); - virtual ~MasterLayoutDialog(); + virtual ~MasterLayoutDialog() override; virtual void dispose() override; virtual short Execute() override; diff --git a/sd/source/ui/inc/morphdlg.hxx b/sd/source/ui/inc/morphdlg.hxx index e2311c7c5f95..37e093be34e1 100644 --- a/sd/source/ui/inc/morphdlg.hxx +++ b/sd/source/ui/inc/morphdlg.hxx @@ -38,7 +38,7 @@ public: vcl::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2); - virtual ~MorphDlg(); + virtual ~MorphDlg() override; virtual void dispose() override; void SaveSettings() const; diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx index cce7b1ad14ea..9474ac632dbe 100644 --- a/sd/source/ui/inc/navigatr.hxx +++ b/sd/source/ui/inc/navigatr.hxx @@ -93,7 +93,7 @@ public: const SdResId& rSdResId, SfxBindings* pBindings); void SetUpdateRequestFunctor(const UpdateRequestFunctor& rUpdateRequest); - virtual ~SdNavigatorWin(); + virtual ~SdNavigatorWin() override; virtual void dispose() override; virtual void KeyInput( const KeyEvent& rKEvt ) override; diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx index f413f3f4f83f..7351ee9741e8 100644 --- a/sd/source/ui/inc/optsitem.hxx +++ b/sd/source/ui/inc/optsitem.hxx @@ -48,7 +48,7 @@ private: public: SdOptionsItem( const SdOptionsGeneric& rParent, const OUString& rSubTree ); - virtual ~SdOptionsItem(); + virtual ~SdOptionsItem() override; virtual void Notify( const css::uno::Sequence<OUString>& aPropertyNames) override; @@ -118,7 +118,7 @@ protected: public: SdOptionsLayout( sal_uInt16 nConfigId, bool bUseConfig ); - virtual ~SdOptionsLayout() {} + virtual ~SdOptionsLayout() override {} bool operator==( const SdOptionsLayout& rOpt ) const; @@ -168,7 +168,7 @@ protected: public: SdOptionsContents( sal_uInt16 nConfigId, bool bUseConfig ); - virtual ~SdOptionsContents() {} + virtual ~SdOptionsContents() override {} bool operator==( const SdOptionsContents& rOpt ) const; }; @@ -240,7 +240,7 @@ protected: public: SdOptionsMisc( sal_uInt16 nConfigId, bool bUseConfig ); - virtual ~SdOptionsMisc() {} + virtual ~SdOptionsMisc() override {} bool operator==( const SdOptionsMisc& rOpt ) const; @@ -361,7 +361,7 @@ protected: public: SdOptionsSnap( sal_uInt16 nConfigId, bool bUseConfig ); - virtual ~SdOptionsSnap() {} + virtual ~SdOptionsSnap() override {} bool operator==( const SdOptionsSnap& rOpt ) const; @@ -421,7 +421,7 @@ protected: public: explicit SdOptionsZoom(sal_uInt16 nConfigId); - virtual ~SdOptionsZoom() {} + virtual ~SdOptionsZoom() override {} void GetScale( sal_Int32& rX, sal_Int32& rY ) const { Init(); rX = nX; rY = nY; } void SetScale( sal_Int32 nInX, sal_Int32 nInY ) { if( nX != nInX || nY != nInY ) { OptionsChanged(); nX = nInX; nY = nInY; } } @@ -438,7 +438,7 @@ protected: public: explicit SdOptionsGrid(sal_uInt16 nConfigId); - virtual ~SdOptionsGrid(); + virtual ~SdOptionsGrid() override; void SetDefaults(); @@ -509,7 +509,7 @@ protected: public: SdOptionsPrint( sal_uInt16 nConfigId, bool bUseConfig ); - virtual ~SdOptionsPrint() {} + virtual ~SdOptionsPrint() override {} bool operator==( const SdOptionsPrint& rOpt ) const; @@ -584,7 +584,7 @@ class SdOptions : public SdOptionsLayout, public SdOptionsContents, public: explicit SdOptions( sal_uInt16 nConfigId ); - virtual ~SdOptions(); + virtual ~SdOptions() override; void StoreConfig(); }; diff --git a/sd/source/ui/inc/paragr.hxx b/sd/source/ui/inc/paragr.hxx index 299f3f9ba796..dca7ea4a0de8 100644 --- a/sd/source/ui/inc/paragr.hxx +++ b/sd/source/ui/inc/paragr.hxx @@ -34,7 +34,7 @@ private: public: SdParagraphDlg( vcl::Window* pParent, const SfxItemSet* pAttr ); - virtual ~SdParagraphDlg() {}; + virtual ~SdParagraphDlg() override {}; }; #endif // INCLUDED_SD_SOURCE_UI_INC_PARAGR_HXX diff --git a/sd/source/ui/inc/present.hxx b/sd/source/ui/inc/present.hxx index 9410cb81d98c..99bf183f10b2 100644 --- a/sd/source/ui/inc/present.hxx +++ b/sd/source/ui/inc/present.hxx @@ -87,7 +87,7 @@ public: const SfxItemSet& rInAttrs, const std::vector<OUString> &rPageNames, SdCustomShowList* pCSList ); - virtual ~SdStartPresentationDlg(); + virtual ~SdStartPresentationDlg() override; virtual void dispose() override; void GetAttr( SfxItemSet& rOutAttrs ); diff --git a/sd/source/ui/inc/prltempl.hxx b/sd/source/ui/inc/prltempl.hxx index 75d4d28776b4..e2b8bc672f19 100644 --- a/sd/source/ui/inc/prltempl.hxx +++ b/sd/source/ui/inc/prltempl.hxx @@ -77,7 +77,7 @@ private: public: SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, vcl::Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool ); - virtual ~SdPresLayoutTemplateDlg(); + virtual ~SdPresLayoutTemplateDlg() override; virtual void dispose() override; const SfxItemSet* GetOutputItemSet() const; diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx index df668faefb29..005715ecb1ae 100644 --- a/sd/source/ui/inc/prntopts.hxx +++ b/sd/source/ui/inc/prntopts.hxx @@ -60,7 +60,7 @@ private: using OutputDevice::SetDrawMode; public: SdPrintOptions( vcl::Window* pParent, const SfxItemSet& rInAttrs); - virtual ~SdPrintOptions(); + virtual ~SdPrintOptions() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx index 5b4f3763b9a5..0ae10d96758f 100644 --- a/sd/source/ui/inc/pubdlg.hxx +++ b/sd/source/ui/inc/pubdlg.hxx @@ -196,7 +196,7 @@ private: public: SdPublishingDlg(vcl::Window* pWindow, DocumentType eDocType); - virtual ~SdPublishingDlg(); + virtual ~SdPublishingDlg() override; virtual void dispose() override; void GetParameterSequence( css::uno::Sequence< css::beans::PropertyValue >& rParams ); diff --git a/sd/source/ui/inc/sdpopup.hxx b/sd/source/ui/inc/sdpopup.hxx index 46a42abc4e86..559cb5a9b080 100644 --- a/sd/source/ui/inc/sdpopup.hxx +++ b/sd/source/ui/inc/sdpopup.hxx @@ -36,7 +36,7 @@ private: public: SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage ); - virtual ~SdFieldPopup(); + virtual ~SdFieldPopup() override; //virtual void Select(); diff --git a/sd/source/ui/inc/sdpreslt.hxx b/sd/source/ui/inc/sdpreslt.hxx index e3b8cd315e8d..6f76c9f2113a 100644 --- a/sd/source/ui/inc/sdpreslt.hxx +++ b/sd/source/ui/inc/sdpreslt.hxx @@ -41,7 +41,7 @@ public: ::sd::DrawDocShell* pDocShell, vcl::Window* pWindow, const SfxItemSet& rInAttrs); - virtual ~SdPresLayoutDlg(); + virtual ~SdPresLayoutDlg() override; virtual void dispose() override; void GetAttr(SfxItemSet& rOutAttrs); diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx index 7d96dee14162..af9459673975 100644 --- a/sd/source/ui/inc/sdtreelb.hxx +++ b/sd/source/ui/inc/sdtreelb.hxx @@ -94,7 +94,7 @@ public: INetBookmark maBookmark; ::sd::DrawDocShell& mrDocShell; NavigatorDragType meDragType; - SAL_DLLPRIVATE virtual ~SdPageObjsTransferable(); + SAL_DLLPRIVATE virtual ~SdPageObjsTransferable() override; SAL_DLLPRIVATE virtual void AddSupportedFormats() override; SAL_DLLPRIVATE virtual bool GetData( const css::datatransfer::DataFlavor& rFlavor, const OUString& rDestDoc ) override; @@ -183,7 +183,7 @@ public: SdPageObjsTLB( vcl::Window* pParent, const SdResId& rSdResId ); SdPageObjsTLB( vcl::Window* pParent, WinBits nStyle ); - virtual ~SdPageObjsTLB(); + virtual ~SdPageObjsTLB() override; virtual void dispose() override; // helper function for GetEntryAltText and GetEntryLongDescription diff --git a/sd/source/ui/inc/sdundogr.hxx b/sd/source/ui/inc/sdundogr.hxx index 131c1a5038d1..c629edf699b8 100644 --- a/sd/source/ui/inc/sdundogr.hxx +++ b/sd/source/ui/inc/sdundogr.hxx @@ -33,7 +33,7 @@ public: SdUndoGroup(SdDrawDocument* pSdDrawDocument) : SdUndoAction(pSdDrawDocument), aCtn() {} - virtual ~SdUndoGroup(); + virtual ~SdUndoGroup() override; virtual bool Merge( SfxUndoAction* pNextAction ) override; diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx index 76a636999fd0..ba00241534b5 100644 --- a/sd/source/ui/inc/sdxfer.hxx +++ b/sd/source/ui/inc/sdxfer.hxx @@ -42,7 +42,7 @@ class SdTransferable : public TransferableHelper, public SfxListener public: SdTransferable( SdDrawDocument* pSrcDoc, ::sd::View* pWorkView, bool bInitOnGetData ); - virtual ~SdTransferable(); + virtual ~SdTransferable() override; void SetDocShell( const SfxObjectShellRef& rRef ) { maDocShellRef = rRef; } const SfxObjectShellRef& GetDocShell() const { return maDocShellRef; } diff --git a/sd/source/ui/inc/smarttag.hxx b/sd/source/ui/inc/smarttag.hxx index 7b08aea9e437..509ebb07a73a 100644 --- a/sd/source/ui/inc/smarttag.hxx +++ b/sd/source/ui/inc/smarttag.hxx @@ -48,7 +48,7 @@ class SmartTag : public SimpleReferenceComponent public: explicit SmartTag( ::sd::View& rView ); - virtual ~SmartTag(); + virtual ~SmartTag() override; /** returns true if the SmartTag consumes this event. */ virtual bool MouseButtonDown( const MouseEvent&, SmartHdl& ); diff --git a/sd/source/ui/inc/tmplctrl.hxx b/sd/source/ui/inc/tmplctrl.hxx index b7bf71cc6037..2e0d469137d3 100644 --- a/sd/source/ui/inc/tmplctrl.hxx +++ b/sd/source/ui/inc/tmplctrl.hxx @@ -25,7 +25,7 @@ class SdTemplateControl : public SfxStatusBarControl { public: SdTemplateControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - virtual ~SdTemplateControl(); + virtual ~SdTemplateControl() override; virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) override; virtual void Paint( const UserDrawEvent& rEvt ) override; diff --git a/sd/source/ui/inc/tools/IconCache.hxx b/sd/source/ui/inc/tools/IconCache.hxx index 8caf5a67009f..965a786fd2fa 100644 --- a/sd/source/ui/inc/tools/IconCache.hxx +++ b/sd/source/ui/inc/tools/IconCache.hxx @@ -63,7 +63,7 @@ private: /** This destructor is called by SdGlobalResourceContainer. */ - virtual ~IconCache(); + virtual ~IconCache() override; }; } // end of namespace sd diff --git a/sd/source/ui/inc/tools/PropertySet.hxx b/sd/source/ui/inc/tools/PropertySet.hxx index 3e36728855d8..912e2637d7c8 100644 --- a/sd/source/ui/inc/tools/PropertySet.hxx +++ b/sd/source/ui/inc/tools/PropertySet.hxx @@ -47,7 +47,7 @@ class PropertySet { public: explicit PropertySet(); - virtual ~PropertySet(); + virtual ~PropertySet() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/tools/SlotStateListener.hxx b/sd/source/ui/inc/tools/SlotStateListener.hxx index 77210ce52fcb..ce89e1aea80f 100644 --- a/sd/source/ui/inc/tools/SlotStateListener.hxx +++ b/sd/source/ui/inc/tools/SlotStateListener.hxx @@ -58,7 +58,7 @@ public: /** The constructor de-registers all remaining listeners. Usually a prior dispose() call should have done that already. */ - virtual ~SlotStateListener(); + virtual ~SlotStateListener() override; /** Set the callback to the given value. Whenever one of the observed slots changes its state this callback is informed about it. diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx index 13e59a142a10..253660e0f501 100644 --- a/sd/source/ui/inc/tpaction.hxx +++ b/sd/source/ui/inc/tpaction.hxx @@ -93,7 +93,7 @@ private: public: SdTPAction( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SdTPAction(); + virtual ~SdTPAction() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet& ); diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx index e96f5b4fe736..428f5f173477 100644 --- a/sd/source/ui/inc/tpoption.hxx +++ b/sd/source/ui/inc/tpoption.hxx @@ -36,7 +36,7 @@ class SdTpOptionsSnap : public SvxGridTabPage { public: SdTpOptionsSnap( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SdTpOptionsSnap(); + virtual ~SdTpOptionsSnap() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); virtual bool FillItemSet( SfxItemSet* ) override; @@ -57,7 +57,7 @@ private: public: SdTpOptionsContents( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SdTpOptionsContents(); + virtual ~SdTpOptionsContents() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); @@ -131,7 +131,7 @@ protected: public: SdTpOptionsMisc( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SdTpOptionsMisc(); + virtual ~SdTpOptionsMisc() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/sd/source/ui/inc/undoheaderfooter.hxx b/sd/source/ui/inc/undoheaderfooter.hxx index 020cf667ccc4..68e4d262c11d 100644 --- a/sd/source/ui/inc/undoheaderfooter.hxx +++ b/sd/source/ui/inc/undoheaderfooter.hxx @@ -37,7 +37,7 @@ class SD_DLLPUBLIC SdHeaderFooterUndoAction : public SdUndoAction public: SdHeaderFooterUndoAction( SdDrawDocument* pDoc, SdPage* pPage, const sd::HeaderFooterSettings& rNewSettings ); - virtual ~SdHeaderFooterUndoAction(); + virtual ~SdHeaderFooterUndoAction() override; virtual void Undo() override; virtual void Redo() override; diff --git a/sd/source/ui/inc/undopage.hxx b/sd/source/ui/inc/undopage.hxx index 4c84297c44b9..4b36f8ee1a91 100644 --- a/sd/source/ui/inc/undopage.hxx +++ b/sd/source/ui/inc/undopage.hxx @@ -97,7 +97,7 @@ public: mbNewFullSize (bNFullSize) {} - virtual ~SdPageFormatUndoAction(); + virtual ~SdPageFormatUndoAction() override; virtual void Undo() override; virtual void Redo() override; @@ -125,7 +125,7 @@ public: mnNewLeft (nNewLft), mnNewRight (nNewRgt) {} - virtual ~SdPageLRUndoAction(); + virtual ~SdPageLRUndoAction() override; virtual void Undo() override; virtual void Redo() override; @@ -153,7 +153,7 @@ public: mnNewUpper (nNewUpr), mnNewLower (nNewLwr) {} - virtual ~SdPageULUndoAction(); + virtual ~SdPageULUndoAction() override; virtual void Undo() override; virtual void Redo() override; diff --git a/sd/source/ui/inc/unmodpg.hxx b/sd/source/ui/inc/unmodpg.hxx index de6e4a17e40d..c48482a00cc0 100644 --- a/sd/source/ui/inc/unmodpg.hxx +++ b/sd/source/ui/inc/unmodpg.hxx @@ -49,7 +49,7 @@ public: bool bTheNewBckgrndVisible, bool bTheNewBckgrndObjsVisible); - virtual ~ModifyPageUndoAction(); + virtual ~ModifyPageUndoAction() override; virtual void Undo() override; virtual void Redo() override; diff --git a/sd/source/ui/inc/unmovss.hxx b/sd/source/ui/inc/unmovss.hxx index 346fd4482459..dee12b32e1ba 100644 --- a/sd/source/ui/inc/unmovss.hxx +++ b/sd/source/ui/inc/unmovss.hxx @@ -35,7 +35,7 @@ class SdMoveStyleSheetsUndoAction : public SdUndoAction public: SdMoveStyleSheetsUndoAction(SdDrawDocument* pTheDoc, SdStyleSheetVector& rTheStyles, bool bInserted); - virtual ~SdMoveStyleSheetsUndoAction(); + virtual ~SdMoveStyleSheetsUndoAction() override; virtual void Undo() override; virtual void Redo() override; diff --git a/sd/source/ui/inc/unoaprms.hxx b/sd/source/ui/inc/unoaprms.hxx index 998e1b36be45..833ac0b1286b 100644 --- a/sd/source/ui/inc/unoaprms.hxx +++ b/sd/source/ui/inc/unoaprms.hxx @@ -148,7 +148,7 @@ public: void SetSecondPlayFull(bool bTheOldPlayFull, bool bTheNewPlayFull) { bOldSecondPlayFull = bTheOldPlayFull; bNewSecondPlayFull = bTheNewPlayFull; } - virtual ~SdAnimationPrmsUndoAction(); + virtual ~SdAnimationPrmsUndoAction() override; virtual void Undo() override; virtual void Redo() override; }; diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx index 68d0dd758d6c..abc866e712f5 100644 --- a/sd/source/ui/inc/unomodel.hxx +++ b/sd/source/ui/inc/unomodel.hxx @@ -133,7 +133,7 @@ private: public: SdXImpressDocument( ::sd::DrawDocShell* pShell, bool bClipBoard = false ) throw(); SdXImpressDocument( SdDrawDocument* pDoc, bool bClipBoard = false ) throw(); - virtual ~SdXImpressDocument() throw(); + virtual ~SdXImpressDocument() throw() override; static rtl::Reference< SdXImpressDocument > GetModel( SdDrawDocument* pDoc ); @@ -289,7 +289,7 @@ private: public: SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw(); - virtual ~SdDrawPagesAccess() throw(); + virtual ~SdDrawPagesAccess() throw() override; // XDrawPages virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) throw(css::uno::RuntimeException, std::exception) override; @@ -330,7 +330,7 @@ private: public: SdMasterPagesAccess( SdXImpressDocument& rMyModel ) throw(); - virtual ~SdMasterPagesAccess() throw(); + virtual ~SdMasterPagesAccess() throw() override; // XDrawPages virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) @@ -369,7 +369,7 @@ private: public: SdDocLinkTargets( SdXImpressDocument& rMyModel ) throw(); - virtual ~SdDocLinkTargets() throw(); + virtual ~SdDocLinkTargets() throw() override; // XNameAccess virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; diff --git a/sd/source/ui/inc/unopage.hxx b/sd/source/ui/inc/unopage.hxx index ae5e2b6de1ef..d6dc3028d87f 100644 --- a/sd/source/ui/inc/unopage.hxx +++ b/sd/source/ui/inc/unopage.hxx @@ -95,7 +95,7 @@ protected: public: SdGenericDrawPage( SdXImpressDocument* pModel, SdPage* pInPage, const SvxItemPropertySet* pSet ) throw(); - virtual ~SdGenericDrawPage() throw(); + virtual ~SdGenericDrawPage() throw() override; // intern bool isValid() { return (SvxDrawPage::mpPage != nullptr) && (mpModel != nullptr); } @@ -179,7 +179,7 @@ protected: virtual void getBackground( css::uno::Any& rValue ) throw() override; public: SdDrawPage( SdXImpressDocument* pModel, SdPage* pInPage ) throw(); - virtual ~SdDrawPage() throw(); + virtual ~SdDrawPage() throw() override; UNO3_GETIMPLEMENTATION_DECL( SdDrawPage ) @@ -242,7 +242,7 @@ protected: public: SdMasterPage( SdXImpressDocument* pModel, SdPage* pInPage ) throw(); - virtual ~SdMasterPage() throw(); + virtual ~SdMasterPage() throw() override; UNO3_GETIMPLEMENTATION_DECL(SdMasterPage) @@ -296,7 +296,7 @@ private: public: SdPageLinkTargets( SdGenericDrawPage* pUnoPage ) throw(); - virtual ~SdPageLinkTargets() throw(); + virtual ~SdPageLinkTargets() throw() override; // intern SdrObject* FindObject( const OUString& rName ) const throw(); diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx index 650912ba5fa6..8487993c0bdc 100644 --- a/sd/source/ui/inc/unosrch.hxx +++ b/sd/source/ui/inc/unosrch.hxx @@ -90,7 +90,7 @@ protected: public: SdUnoSearchReplaceDescriptor(bool bReplace) throw (css::uno::RuntimeException); - virtual ~SdUnoSearchReplaceDescriptor() throw(); + virtual ~SdUnoSearchReplaceDescriptor() throw() override; bool IsCaseSensitive() const { return mbCaseSensitive; } bool IsWords() const { return mbWords; } @@ -126,7 +126,7 @@ protected: public: SdUnoFindAllAccess( css::uno::Sequence< css::uno::Reference< css::uno::XInterface > >& rSequence ) throw(); - virtual ~SdUnoFindAllAccess() throw(); + virtual ~SdUnoFindAllAccess() throw() override; // XIndexAccess virtual sal_Int32 SAL_CALL getCount() throw(css::uno::RuntimeException, std::exception) override ; diff --git a/sd/source/ui/inc/unprlout.hxx b/sd/source/ui/inc/unprlout.hxx index 67496a929528..21c158f9394c 100644 --- a/sd/source/ui/inc/unprlout.hxx +++ b/sd/source/ui/inc/unprlout.hxx @@ -45,7 +45,7 @@ public: bool bSet, SdPage* pThePage); - virtual ~SdPresentationLayoutUndoAction(); + virtual ~SdPresentationLayoutUndoAction() override; virtual void Undo() override; virtual void Redo() override; diff --git a/sd/source/ui/inc/vectdlg.hxx b/sd/source/ui/inc/vectdlg.hxx index c711ea71ea80..8b63d42ccc15 100644 --- a/sd/source/ui/inc/vectdlg.hxx +++ b/sd/source/ui/inc/vectdlg.hxx @@ -80,7 +80,7 @@ class SdVectorizeDlg : public ModalDialog public: SdVectorizeDlg( vcl::Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell ); - virtual ~SdVectorizeDlg(); + virtual ~SdVectorizeDlg() override; virtual void dispose() override; const GDIMetaFile& GetGDIMetaFile() const { return aMtf; } diff --git a/sd/source/ui/inc/view/viewoverlaymanager.hxx b/sd/source/ui/inc/view/viewoverlaymanager.hxx index 39c55afc5d17..aa77b261e61c 100644 --- a/sd/source/ui/inc/view/viewoverlaymanager.hxx +++ b/sd/source/ui/inc/view/viewoverlaymanager.hxx @@ -35,7 +35,7 @@ class ViewOverlayManager : public SfxListener { public: ViewOverlayManager( ViewShellBase& rViewShellBase ); - virtual ~ViewOverlayManager(); + virtual ~ViewOverlayManager() override; void onZoomChanged(); void UpdateTags(); diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx index cd6fba82ce51..fd42bdc207b9 100644 --- a/sd/source/ui/presenter/PresenterCanvas.cxx +++ b/sd/source/ui/presenter/PresenterCanvas.cxx @@ -57,7 +57,7 @@ public: const Reference<rendering::XCustomSprite>& rxSprite, const Reference<awt::XWindow>& rxBaseWindow, const css::geometry::RealSize2D& rSpriteSize); - virtual ~PresenterCustomSprite(); + virtual ~PresenterCustomSprite() override; PresenterCustomSprite(const PresenterCustomSprite&) = delete; PresenterCustomSprite& operator=(const PresenterCustomSprite&) = delete; virtual void SAL_CALL disposing() diff --git a/sd/source/ui/presenter/PresenterCanvas.hxx b/sd/source/ui/presenter/PresenterCanvas.hxx index 8e0937006179..a31e899d0234 100644 --- a/sd/source/ui/presenter/PresenterCanvas.hxx +++ b/sd/source/ui/presenter/PresenterCanvas.hxx @@ -96,7 +96,7 @@ public: const css::uno::Reference<css::rendering::XCanvas>& rxSharedCanvas, const css::uno::Reference<css::awt::XWindow>& rxSharedWindow, const css::uno::Reference<css::awt::XWindow>& rxWindow); - virtual ~PresenterCanvas(); + virtual ~PresenterCanvas() override; PresenterCanvas(const PresenterCanvas&) = delete; PresenterCanvas& operator=(const PresenterCanvas&) = delete; diff --git a/sd/source/ui/presenter/PresenterHelper.hxx b/sd/source/ui/presenter/PresenterHelper.hxx index 785cd179135f..be955fcfbc60 100644 --- a/sd/source/ui/presenter/PresenterHelper.hxx +++ b/sd/source/ui/presenter/PresenterHelper.hxx @@ -44,7 +44,7 @@ class PresenterHelper { public: explicit PresenterHelper (const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~PresenterHelper(); + virtual ~PresenterHelper() override; PresenterHelper(const PresenterHelper&) = delete; PresenterHelper& operator=(const PresenterHelper&) = delete; diff --git a/sd/source/ui/presenter/PresenterPreviewCache.cxx b/sd/source/ui/presenter/PresenterPreviewCache.cxx index 050611202a3b..dc613d195c14 100644 --- a/sd/source/ui/presenter/PresenterPreviewCache.cxx +++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx @@ -36,7 +36,7 @@ class PresenterPreviewCache::PresenterCacheContext : public CacheContext { public: PresenterCacheContext(); - virtual ~PresenterCacheContext(); + virtual ~PresenterCacheContext() override; void SetDocumentSlides ( const Reference<container::XIndexAccess>& rxSlides, diff --git a/sd/source/ui/presenter/PresenterPreviewCache.hxx b/sd/source/ui/presenter/PresenterPreviewCache.hxx index af8985a54ac2..2e13d979c3d1 100644 --- a/sd/source/ui/presenter/PresenterPreviewCache.hxx +++ b/sd/source/ui/presenter/PresenterPreviewCache.hxx @@ -45,7 +45,7 @@ class PresenterPreviewCache { public: explicit PresenterPreviewCache (const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~PresenterPreviewCache(); + virtual ~PresenterPreviewCache() override; PresenterPreviewCache(const PresenterPreviewCache&) = delete; PresenterPreviewCache& operator=(const PresenterPreviewCache&) = delete; diff --git a/sd/source/ui/presenter/PresenterTextView.hxx b/sd/source/ui/presenter/PresenterTextView.hxx index 7570ab728dd3..f49ef4fa2453 100644 --- a/sd/source/ui/presenter/PresenterTextView.hxx +++ b/sd/source/ui/presenter/PresenterTextView.hxx @@ -48,7 +48,7 @@ class PresenterTextView { public: explicit PresenterTextView (const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~PresenterTextView(); + virtual ~PresenterTextView() override; PresenterTextView(const PresenterTextView&) = delete; PresenterTextView& operator=(const PresenterTextView&) = delete; diff --git a/sd/source/ui/presenter/SlideRenderer.hxx b/sd/source/ui/presenter/SlideRenderer.hxx index 3f053d918a5e..128bc46a642f 100644 --- a/sd/source/ui/presenter/SlideRenderer.hxx +++ b/sd/source/ui/presenter/SlideRenderer.hxx @@ -49,7 +49,7 @@ class SlideRenderer { public: explicit SlideRenderer (const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~SlideRenderer(); + virtual ~SlideRenderer() override; SlideRenderer(const SlideRenderer&) = delete; SlideRenderer& operator=(const SlideRenderer&) = delete; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.hxx b/sd/source/ui/remotecontrol/AvahiNetworkService.hxx index ec786efead7a..f23bab1543c0 100644 --- a/sd/source/ui/remotecontrol/AvahiNetworkService.hxx +++ b/sd/source/ui/remotecontrol/AvahiNetworkService.hxx @@ -19,7 +19,7 @@ namespace sd { public: AvahiNetworkService(const std::string& aname = "", unsigned int aport = 1599) : ZeroconfService(aname, aport){} - virtual ~AvahiNetworkService(){} + virtual ~AvahiNetworkService() override {} void clear() override; void setup() override; diff --git a/sd/source/ui/remotecontrol/BluetoothServer.hxx b/sd/source/ui/remotecontrol/BluetoothServer.hxx index 8ec485de92d4..b5d6f78aa2b8 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.hxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.hxx @@ -43,7 +43,7 @@ namespace sd #endif private: explicit BluetoothServer( std::vector<Communicator*>* pCommunicators ); - virtual ~BluetoothServer(); + virtual ~BluetoothServer() override; enum { UNKNOWN, DISCOVERABLE, NOT_DISCOVERABLE } meWasDiscoverable; static BluetoothServer *spServer; diff --git a/sd/source/ui/remotecontrol/Communicator.hxx b/sd/source/ui/remotecontrol/Communicator.hxx index 4965c4381dda..cca2ea2a982a 100644 --- a/sd/source/ui/remotecontrol/Communicator.hxx +++ b/sd/source/ui/remotecontrol/Communicator.hxx @@ -39,7 +39,7 @@ namespace sd { public: explicit Communicator( IBluetoothSocket *pSocket ); - virtual ~Communicator(); + virtual ~Communicator() override; void presentationStarted( const css::uno::Reference< css::presentation::XSlideShowController > &rController ); diff --git a/sd/source/ui/remotecontrol/DiscoveryService.hxx b/sd/source/ui/remotecontrol/DiscoveryService.hxx index f66fa49c1da6..d78e2f9abfbd 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.hxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.hxx @@ -28,7 +28,7 @@ namespace sd private: DiscoveryService(); - virtual ~DiscoveryService(); + virtual ~DiscoveryService() override; /** * Networking related setup -- must be run within our own thread diff --git a/sd/source/ui/remotecontrol/ImagePreparer.hxx b/sd/source/ui/remotecontrol/ImagePreparer.hxx index cb7f5bb112a5..8deb50300494 100644 --- a/sd/source/ui/remotecontrol/ImagePreparer.hxx +++ b/sd/source/ui/remotecontrol/ImagePreparer.hxx @@ -25,7 +25,7 @@ public: ImagePreparer( const css::uno::Reference<css::presentation::XSlideShowController>& rxController, sd::Transmitter *aTransmitter ); - virtual ~ImagePreparer(); + virtual ~ImagePreparer() override; private: css::uno::Reference<css::presentation::XSlideShowController> xController; diff --git a/sd/source/ui/remotecontrol/Listener.hxx b/sd/source/ui/remotecontrol/Listener.hxx index 2f2ff2b861fb..e62b67340411 100644 --- a/sd/source/ui/remotecontrol/Listener.hxx +++ b/sd/source/ui/remotecontrol/Listener.hxx @@ -32,7 +32,7 @@ class Listener { public: Listener( const ::rtl::Reference<Communicator>& rServer, sd::Transmitter *aTransmitter ); - virtual ~Listener(); + virtual ~Listener() override; void init( const css::uno::Reference< css::presentation::XSlideShowController >& aController ); // XAnimationListener diff --git a/sd/source/ui/remotecontrol/Receiver.hxx b/sd/source/ui/remotecontrol/Receiver.hxx index d43b5af4610f..025797c0963a 100644 --- a/sd/source/ui/remotecontrol/Receiver.hxx +++ b/sd/source/ui/remotecontrol/Receiver.hxx @@ -32,7 +32,7 @@ class Receiver : private Timer std::deque< std::vector< OString > > maExecQueue; public: explicit Receiver( Transmitter *aTransmitter ); - virtual ~Receiver(); + virtual ~Receiver() override; virtual void Invoke() override; void pushCommand( const std::vector<OString> &rCommand ); static void executeCommand( const std::vector<OString> &aCommand ); diff --git a/sd/source/ui/remotecontrol/Transmitter.hxx b/sd/source/ui/remotecontrol/Transmitter.hxx index 3deb6442f944..607ab59c5975 100644 --- a/sd/source/ui/remotecontrol/Transmitter.hxx +++ b/sd/source/ui/remotecontrol/Transmitter.hxx @@ -27,7 +27,7 @@ class Transmitter public: enum Priority { PRIORITY_LOW = 1, PRIORITY_HIGH }; explicit Transmitter( ::sd::IBluetoothSocket* aSocket ); - virtual ~Transmitter(); + virtual ~Transmitter() override; void addMessage( const OString& aMessage, const Priority aPriority ); void notifyFinished(); diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx index 5535e12ed246..b5f2c0c912a2 100644 --- a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx @@ -63,7 +63,7 @@ private: ViewShellBase& rBase, const std::shared_ptr<MasterPageContainer>& rpContainer, const css::uno::Reference<css::ui::XSidebar>& rxSidebar); - virtual ~AllMasterPagesSelector(); + virtual ~AllMasterPagesSelector() override; void AddItem (MasterPageContainer::Token aToken); diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx index a3567a6e0c59..a2a3687035ba 100644 --- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx @@ -66,7 +66,7 @@ private: ViewShellBase& rBase, const std::shared_ptr<MasterPageContainer>& rpContainer, const css::uno::Reference<css::ui::XSidebar>& rxSidebar); - virtual ~CurrentMasterPagesSelector(); + virtual ~CurrentMasterPagesSelector() override; virtual void dispose() override; virtual void LateInit() override; diff --git a/sd/source/ui/sidebar/CustomAnimationPanel.hxx b/sd/source/ui/sidebar/CustomAnimationPanel.hxx index 0837d03578ea..8b32eec2bee2 100644 --- a/sd/source/ui/sidebar/CustomAnimationPanel.hxx +++ b/sd/source/ui/sidebar/CustomAnimationPanel.hxx @@ -32,7 +32,7 @@ public: vcl::Window* pParentWindow, ViewShellBase& rViewShellBase, const css::uno::Reference<css::frame::XFrame>& rxFrame); - virtual ~CustomAnimationPanel(); + virtual ~CustomAnimationPanel() override; // ILayoutableWindow virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth) override; diff --git a/sd/source/ui/sidebar/LayoutMenu.hxx b/sd/source/ui/sidebar/LayoutMenu.hxx index 5f5d02e8e3b2..93e5bb082ab9 100644 --- a/sd/source/ui/sidebar/LayoutMenu.hxx +++ b/sd/source/ui/sidebar/LayoutMenu.hxx @@ -72,7 +72,7 @@ public: vcl::Window* pParent, ViewShellBase& rViewShellBase, const css::uno::Reference<css::ui::XSidebar>& rxSidebar); - virtual ~LayoutMenu(); + virtual ~LayoutMenu() override; virtual void dispose() override; void Dispose(); diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx index d7bc6e5c5a25..d276a720ee4c 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.cxx +++ b/sd/source/ui/sidebar/MasterPageContainer.cxx @@ -120,7 +120,7 @@ public: private: Implementation(); - virtual ~Implementation(); + virtual ~Implementation() override; class Deleter { public: void operator() (Implementation* pObject) { delete pObject; } diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx index e5de7fa02f4a..e89af913771c 100644 --- a/sd/source/ui/sidebar/MasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx @@ -62,7 +62,7 @@ public: ViewShellBase& rBase, const std::shared_ptr<MasterPageContainer>& rpContainer, const css::uno::Reference<css::ui::XSidebar>& rxSidebar); - virtual ~MasterPagesSelector(); + virtual ~MasterPagesSelector() override; virtual void dispose() override; virtual void LateInit(); diff --git a/sd/source/ui/sidebar/NavigatorWrapper.hxx b/sd/source/ui/sidebar/NavigatorWrapper.hxx index ffaf18640026..a290cabd0797 100644 --- a/sd/source/ui/sidebar/NavigatorWrapper.hxx +++ b/sd/source/ui/sidebar/NavigatorWrapper.hxx @@ -44,7 +44,7 @@ public: vcl::Window* pParent, sd::ViewShellBase& rViewShellBase, SfxBindings* pBindings); - virtual ~NavigatorWrapper(); + virtual ~NavigatorWrapper() override; virtual void dispose() override; // Control diff --git a/sd/source/ui/sidebar/PanelBase.hxx b/sd/source/ui/sidebar/PanelBase.hxx index 523b101480c6..6d2dfb7b9b41 100644 --- a/sd/source/ui/sidebar/PanelBase.hxx +++ b/sd/source/ui/sidebar/PanelBase.hxx @@ -44,7 +44,7 @@ public: PanelBase ( vcl::Window* pParentWindow, ViewShellBase& rViewShellBase); - virtual ~PanelBase(); + virtual ~PanelBase() override; virtual void dispose() override; virtual void Resize() override; diff --git a/sd/source/ui/sidebar/PanelFactory.hxx b/sd/source/ui/sidebar/PanelFactory.hxx index a60b3c79d66c..d017825842ad 100644 --- a/sd/source/ui/sidebar/PanelFactory.hxx +++ b/sd/source/ui/sidebar/PanelFactory.hxx @@ -53,7 +53,7 @@ public: const css::uno::Reference<css::lang::XMultiServiceFactory>& rxFactory); explicit PanelFactory (const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~PanelFactory(); + virtual ~PanelFactory() override; PanelFactory(const PanelFactory&) = delete; PanelFactory& operator=(const PanelFactory&) = delete; diff --git a/sd/source/ui/sidebar/PreviewValueSet.hxx b/sd/source/ui/sidebar/PreviewValueSet.hxx index f5a5b258781b..880ee9190120 100644 --- a/sd/source/ui/sidebar/PreviewValueSet.hxx +++ b/sd/source/ui/sidebar/PreviewValueSet.hxx @@ -31,7 +31,7 @@ class PreviewValueSet { public: explicit PreviewValueSet (vcl::Window* pParent); - virtual ~PreviewValueSet(); + virtual ~PreviewValueSet() override; void SetRightMouseClickHandler (const Link<const MouseEvent&,void>& rLink); virtual void Resize() override; diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx index 6e362961e17e..1801242d48c8 100644 --- a/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx @@ -65,7 +65,7 @@ private: ViewShellBase& rBase, const std::shared_ptr<MasterPageContainer>& rpContainer, const css::uno::Reference<css::ui::XSidebar>& rxSidebar); - virtual ~RecentMasterPagesSelector(); + virtual ~RecentMasterPagesSelector() override; virtual void dispose() override; virtual void LateInit() override; diff --git a/sd/source/ui/sidebar/RecentlyUsedMasterPages.hxx b/sd/source/ui/sidebar/RecentlyUsedMasterPages.hxx index f8ad97abfcbd..ab0d033b474d 100644 --- a/sd/source/ui/sidebar/RecentlyUsedMasterPages.hxx +++ b/sd/source/ui/sidebar/RecentlyUsedMasterPages.hxx @@ -92,7 +92,7 @@ private: std::shared_ptr<MasterPageContainer> mpContainer; RecentlyUsedMasterPages(); - virtual ~RecentlyUsedMasterPages(); + virtual ~RecentlyUsedMasterPages() override; /** Call this method after a new object has been created. */ diff --git a/sd/source/ui/sidebar/SlideBackground.hxx b/sd/source/ui/sidebar/SlideBackground.hxx index 0f3d491ce300..7514b4388ba4 100644 --- a/sd/source/ui/sidebar/SlideBackground.hxx +++ b/sd/source/ui/sidebar/SlideBackground.hxx @@ -58,7 +58,7 @@ public: ViewShellBase& rBase, const css::uno::Reference<css::frame::XFrame>& rxFrame, SfxBindings* pBindings ); - virtual ~SlideBackground(); + virtual ~SlideBackground() override; virtual void dispose() override; SfxBindings* GetBindings() { return mpBindings; } // Window diff --git a/sd/source/ui/sidebar/SlideTransitionPanel.hxx b/sd/source/ui/sidebar/SlideTransitionPanel.hxx index ab03e293c558..256bc3759dbc 100644 --- a/sd/source/ui/sidebar/SlideTransitionPanel.hxx +++ b/sd/source/ui/sidebar/SlideTransitionPanel.hxx @@ -32,7 +32,7 @@ public: vcl::Window* pParentWindow, ViewShellBase& rViewShellBase, const css::uno::Reference<css::frame::XFrame>& rxFrame ); - virtual ~SlideTransitionPanel(); + virtual ~SlideTransitionPanel() override; // ILayoutableWindow virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth) override; diff --git a/sd/source/ui/sidebar/TableDesignPanel.hxx b/sd/source/ui/sidebar/TableDesignPanel.hxx index c51116a0b147..0bcea51d03a6 100644 --- a/sd/source/ui/sidebar/TableDesignPanel.hxx +++ b/sd/source/ui/sidebar/TableDesignPanel.hxx @@ -30,7 +30,7 @@ public: TableDesignPanel ( vcl::Window* pParentWindow, ViewShellBase& rViewShellBase); - virtual ~TableDesignPanel(); + virtual ~TableDesignPanel() override; // ILayoutableWindow virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth) override; diff --git a/sd/source/ui/slideshow/showwindow.hxx b/sd/source/ui/slideshow/showwindow.hxx index 0c70d3896291..97c03da90271 100644 --- a/sd/source/ui/slideshow/showwindow.hxx +++ b/sd/source/ui/slideshow/showwindow.hxx @@ -50,7 +50,7 @@ class ShowWindow public: ShowWindow ( const ::rtl::Reference< ::sd::SlideshowImpl >& xController, vcl::Window* pParent ); - virtual ~ShowWindow(); + virtual ~ShowWindow() override; virtual void dispose() override; void SetEndMode(); diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index fd401a40f755..f990f8d96e7e 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -121,7 +121,7 @@ class SlideShowListenerProxy : private ::cppu::BaseMutex, { public: SlideShowListenerProxy( const rtl::Reference< SlideshowImpl >& xController, const css::uno::Reference< css::presentation::XSlideShow >& xSlideShow ); - virtual ~SlideShowListenerProxy(); + virtual ~SlideShowListenerProxy() override; void addAsSlideShowListener(); void removeAsSlideShowListener(); @@ -235,7 +235,7 @@ private: SlideshowImpl(SlideshowImpl &) = delete; void operator =(SlideshowImpl &) = delete; - virtual ~SlideshowImpl(); + virtual ~SlideshowImpl() override; // override WeakComponentImplHelperBase::disposing() // This function is called upon disposing the component, diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index 2242fa4ee1b0..e7baf9b98d74 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -218,7 +218,7 @@ public: using cppu::WeakComponentImplHelperBase::disposing; protected: - virtual ~SlideShowView() {} + virtual ~SlideShowView() override {} private: void init(); diff --git a/sd/source/ui/slidesorter/controller/SlsListener.hxx b/sd/source/ui/slidesorter/controller/SlsListener.hxx index eff122700593..7776248f59db 100644 --- a/sd/source/ui/slidesorter/controller/SlsListener.hxx +++ b/sd/source/ui/slidesorter/controller/SlsListener.hxx @@ -72,7 +72,7 @@ class Listener { public: explicit Listener (SlideSorter& rSlideSorter); - virtual ~Listener(); + virtual ~Listener() override; /** Connect to the current controller of the view shell as listener. This method is called once during initialization and every time a diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index beca391f0823..8c18d5683f9d 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -195,7 +195,7 @@ public: NormalModeHandler ( SlideSorter& rSlideSorter, SelectionFunction& rSelectionFunction); - virtual ~NormalModeHandler(); + virtual ~NormalModeHandler() override; virtual SelectionFunction::Mode GetMode() const override; virtual void Abort() override; @@ -234,7 +234,7 @@ public: const Point& rMouseModelPosition, const sal_uInt32 nEventCode); #endif - virtual ~MultiSelectionModeHandler(); + virtual ~MultiSelectionModeHandler() override; #ifndef MACOSX void Initialize(const sal_uInt32 nEventCode); @@ -291,7 +291,7 @@ public: const Point& rMousePosition, vcl::Window* pWindow); #endif - virtual ~DragAndDropModeHandler(); + virtual ~DragAndDropModeHandler() override; #ifndef MACOSX void Initialize(const Point& rMousePosition, vcl::Window* pWindow); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index b4b59a1257fa..6ec289447414 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -62,7 +62,7 @@ class Clipboard { public: Clipboard (SlideSorter& rSlideSorter); - virtual ~Clipboard(); + virtual ~Clipboard() override; /** Create a slide sorter transferable from the given sd transferable. The returned transferable is set up with all diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx index ccc8048c260a..100eac7944cf 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx @@ -106,7 +106,7 @@ protected: SlideSorter& rSlideSorter, SfxRequest& rRequest); - virtual ~SelectionFunction(); + virtual ~SelectionFunction() override; private: /** We use this flag to filter out the cases where MouseMotion() is called diff --git a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx index aa3898ba517d..19a4d76f333a 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx @@ -68,7 +68,7 @@ public: TransferableData ( SlideSorterViewShell* pViewShell, const ::std::vector<TransferableData::Representative>& rRepresentatives); - virtual ~TransferableData(); + virtual ~TransferableData() override; const ::std::vector<Representative>& GetRepresentatives() const { return maRepresentatives;} diff --git a/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx b/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx index 49b85dce66f5..1c43e39034de 100644 --- a/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx +++ b/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx @@ -63,7 +63,7 @@ public: */ PageEnumeration (const PageEnumeration& rEnumeration); - virtual ~PageEnumeration(); + virtual ~PageEnumeration() override; /** Create and return an exact copy of the called object. */ diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx index 48c3cf8a32a0..4a5bcc3330c9 100644 --- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx @@ -71,7 +71,7 @@ public: explicit SlideSorterView (SlideSorter& rSlideSorter); void Init(); - virtual ~SlideSorterView(); + virtual ~SlideSorterView() override; void Dispose(); SlideSorterView(const SlideSorterView&) = delete; diff --git a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx index be7e18bfa334..8e7f4e575400 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx @@ -60,7 +60,7 @@ private: SharedFontPointer maFont; FontProvider(); - virtual ~FontProvider(); + virtual ~FontProvider() override; FontProvider (const FontProvider&) = delete; FontProvider& operator= (const FontProvider&) = delete; diff --git a/sd/source/ui/slidesorter/inc/view/SlsInsertionIndicatorOverlay.hxx b/sd/source/ui/slidesorter/inc/view/SlsInsertionIndicatorOverlay.hxx index 9e5252286800..8fe353ce73c2 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsInsertionIndicatorOverlay.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsInsertionIndicatorOverlay.hxx @@ -53,7 +53,7 @@ class InsertionIndicatorOverlay { public: InsertionIndicatorOverlay (SlideSorter& rSlideSorter); - virtual ~InsertionIndicatorOverlay(); + virtual ~InsertionIndicatorOverlay() override; virtual void SetLayerInvalidator (const SharedILayerInvalidator& rpInvalidator) override; diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx index a7f9031dbca7..fa046e5238c5 100644 --- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx @@ -36,7 +36,7 @@ public: inline PageEnumerationImpl ( const SlideSorterModel& rModel, const PageEnumeration::PagePredicate& rPredicate); - virtual ~PageEnumerationImpl(); + virtual ~PageEnumerationImpl() override; PageEnumerationImpl(const PageEnumerationImpl&) = delete; PageEnumerationImpl& operator=(const PageEnumerationImpl&) = delete; /** Create a copy of the called enumeration object. diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index 79171b327634..edc3750ee697 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx @@ -51,7 +51,7 @@ class ContentWindow : public ::sd::Window { public: ContentWindow(vcl::Window& rParent, SlideSorter& rSlideSorter); - virtual ~ContentWindow(); + virtual ~ContentWindow() override; void SetCurrentFunction (const rtl::Reference<FuPoor>& rpFunction); virtual void Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) override; virtual void KeyInput (const KeyEvent& rEvent) override; diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx index b7ebe225dc87..d0baa5cd4fbf 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx @@ -52,7 +52,7 @@ class SlideSorterService public: explicit SlideSorterService ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); - virtual ~SlideSorterService(); + virtual ~SlideSorterService() override; SlideSorterService(const SlideSorterService&) = delete; SlideSorterService& operator=(const SlideSorterService&) = delete; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx index e58e3955284e..786f5dd4b81f 100644 --- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx +++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx @@ -88,7 +88,7 @@ namespace { { public: explicit Painter (SlideSorterView& rView) : mrView(rView) {} - virtual ~Painter() {} + virtual ~Painter() override {} virtual void Paint (OutputDevice& rDevice, const Rectangle& rRepaintArea) override { @@ -107,7 +107,7 @@ class BackgroundPainter { public: explicit BackgroundPainter (const Color& rBackgroundColor) : maBackgroundColor(rBackgroundColor) {} - virtual ~BackgroundPainter() {} + virtual ~BackgroundPainter() override {} BackgroundPainter(const BackgroundPainter&) = delete; BackgroundPainter& operator=(const BackgroundPainter&) = delete; diff --git a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx index 216410273c26..bc8dfefd5323 100644 --- a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx @@ -45,7 +45,7 @@ public: { } - virtual ~LayerInvalidator ( ) + virtual ~LayerInvalidator ( ) override { } diff --git a/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx index e9e577b6583e..c8f4fcddcd1a 100644 --- a/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx +++ b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx @@ -40,7 +40,7 @@ class ViewCacheContext : public cache::CacheContext { public: explicit ViewCacheContext (SlideSorter& rSlideSorter); - virtual ~ViewCacheContext(); + virtual ~ViewCacheContext() override; virtual void NotifyPreviewCreation (cache::CacheKey aKey, const Bitmap& rPreview) override; virtual bool IsIdle() override; virtual bool IsVisible (cache::CacheKey aKey) override; diff --git a/sd/source/ui/table/tableobjectbar.hxx b/sd/source/ui/table/tableobjectbar.hxx index 7ef0f9cbd43e..4542535f967a 100644 --- a/sd/source/ui/table/tableobjectbar.hxx +++ b/sd/source/ui/table/tableobjectbar.hxx @@ -45,7 +45,7 @@ private: public: TableObjectBar( ::sd::ViewShell* pSdViewShell, ::sd::View* pSdView); - virtual ~TableObjectBar(); + virtual ~TableObjectBar() override; void GetState( SfxItemSet& rSet ); void GetAttrState( SfxItemSet& rSet ); diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx index d6df067568da..8d0522c1e5f6 100644 --- a/sd/source/ui/tools/EventMultiplexer.cxx +++ b/sd/source/ui/tools/EventMultiplexer.cxx @@ -65,7 +65,7 @@ class EventMultiplexer::Implementation { public: explicit Implementation (ViewShellBase& rBase); - virtual ~Implementation(); + virtual ~Implementation() override; void AddEventListener ( const Link<EventMultiplexerEvent&,void>& rCallback, diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx index feec76bf3bf3..3113e5069653 100644 --- a/sd/source/ui/tools/PreviewRenderer.cxx +++ b/sd/source/ui/tools/PreviewRenderer.cxx @@ -54,7 +54,7 @@ namespace { { public: ViewRedirector(); - virtual ~ViewRedirector(); + virtual ~ViewRedirector() override; virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence( const sdr::contact::ViewObjectContact& rOriginal, const sdr::contact::DisplayInfo& rDisplayInfo) override; diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx index 18db3790bc4e..84fab5131493 100644 --- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx +++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx @@ -72,7 +72,7 @@ namespace sd { public: explicit DocumentSettings( SdXImpressDocument* pModel ); - virtual ~DocumentSettings() throw(); + virtual ~DocumentSettings() throw() override; // XInterface virtual Any SAL_CALL queryInterface( const Type& aType ) throw (RuntimeException, std::exception) override; diff --git a/sd/source/ui/unoidl/sddetect.hxx b/sd/source/ui/unoidl/sddetect.hxx index 2672127e6d4c..49beceb6795c 100644 --- a/sd/source/ui/unoidl/sddetect.hxx +++ b/sd/source/ui/unoidl/sddetect.hxx @@ -53,7 +53,7 @@ class SdFilterDetect : public ::cppu::WeakImplHelper< css::document::XExtendedFi { public: SdFilterDetect(); - virtual ~SdFilterDetect(); + virtual ~SdFilterDetect() override; // XServiceInfo diff --git a/sd/source/ui/unoidl/unocpres.hxx b/sd/source/ui/unoidl/unocpres.hxx index 896bbcdc9848..493c5ddccac7 100644 --- a/sd/source/ui/unoidl/unocpres.hxx +++ b/sd/source/ui/unoidl/unocpres.hxx @@ -51,7 +51,7 @@ private: public: SdXCustomPresentation() throw(); SdXCustomPresentation( SdCustomShow* mpSdCustomShow) throw(); - virtual ~SdXCustomPresentation() throw(); + virtual ~SdXCustomPresentation() throw() override; // internal SdCustomShow* GetSdCustomShow() const throw() { return mpSdCustomShow; } @@ -112,7 +112,7 @@ private: public: explicit SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) throw(); - virtual ~SdXCustomPresentationAccess() throw(); + virtual ~SdXCustomPresentationAccess() throw() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override; diff --git a/sd/source/ui/unoidl/unolayer.hxx b/sd/source/ui/unoidl/unolayer.hxx index 24fb20b7e60e..99ba616adc04 100644 --- a/sd/source/ui/unoidl/unolayer.hxx +++ b/sd/source/ui/unoidl/unolayer.hxx @@ -49,7 +49,7 @@ class SdLayer : public ::cppu::WeakImplHelper< css::drawing::XLayer, { public: SdLayer( SdLayerManager* pLayerManager_, SdrLayer* pSdrLayer_ ) throw(); - virtual ~SdLayer() throw(); + virtual ~SdLayer() throw() override; // intern SdrLayer* GetSdrLayer() const throw() { return pLayer; } @@ -116,7 +116,7 @@ class SdLayerManager : public ::cppu::WeakImplHelper< css::drawing::XLayerManage public: explicit SdLayerManager( SdXImpressDocument& rMyModel ) throw(); - virtual ~SdLayerManager() throw(); + virtual ~SdLayerManager() throw() override; // uno helper UNO3_GETIMPLEMENTATION_DECL( SdLayerManager ) diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index eba557cf19d0..34b9d7021073 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -119,7 +119,7 @@ class SdUnoForbiddenCharsTable : public SvxUnoForbiddenCharsTable, { public: explicit SdUnoForbiddenCharsTable(SdrModel* pModel); - virtual ~SdUnoForbiddenCharsTable(); + virtual ~SdUnoForbiddenCharsTable() override; // SfxListener virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () override; @@ -1548,7 +1548,7 @@ public: bool IsPrintable( const SdrObject* pObj ) const; ImplRenderPaintProc( const SdrLayerAdmin& rLA, SdrPageView* pView, vcl::PDFExtOutDevData* pData ); - virtual ~ImplRenderPaintProc(); + virtual ~ImplRenderPaintProc() override; // all default implementations just call the same methods at the original. To do something // different, override the method and at least do what the method does. diff --git a/sd/source/ui/unoidl/unopback.hxx b/sd/source/ui/unoidl/unopback.hxx index fbe41fe87a78..6e08f7bdadd8 100644 --- a/sd/source/ui/unoidl/unopback.hxx +++ b/sd/source/ui/unoidl/unopback.hxx @@ -50,7 +50,7 @@ protected: const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) const throw(); public: SdUnoPageBackground( SdDrawDocument* pDoc = nullptr, const SfxItemSet* pSet = nullptr) throw(); - virtual ~SdUnoPageBackground() throw(); + virtual ~SdUnoPageBackground() throw() override; // internal void fillItemSet( SdDrawDocument* pDoc, SfxItemSet& rSet ) throw(); diff --git a/sd/source/ui/unoidl/unopool.cxx b/sd/source/ui/unoidl/unopool.cxx index 6ae35e5a8584..4dbb9be55815 100644 --- a/sd/source/ui/unoidl/unopool.cxx +++ b/sd/source/ui/unoidl/unopool.cxx @@ -46,7 +46,7 @@ class SdUnoDrawPool : public SvxUnoDrawPool { public: explicit SdUnoDrawPool(SdDrawDocument* pModel) throw(); - virtual ~SdUnoDrawPool() throw(); + virtual ~SdUnoDrawPool() throw() override; protected: virtual void putAny( SfxItemPool* pPool, const PropertyMapEntry* pEntry, const uno::Any& rValue ) diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 4f9042aa83da..6c81a615a3e1 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -740,7 +740,7 @@ namespace { { } - virtual ~RegularPrinterPage() {} + virtual ~RegularPrinterPage() override {} virtual void Print ( Printer& rPrinter, @@ -794,7 +794,7 @@ namespace { { } - virtual ~TiledPrinterPage() {} + virtual ~TiledPrinterPage() override {} virtual void Print ( Printer& rPrinter, @@ -879,7 +879,7 @@ namespace { { } - virtual ~BookletPrinterPage() {} + virtual ~BookletPrinterPage() override {} virtual void Print ( Printer& rPrinter, @@ -1092,7 +1092,7 @@ namespace { { } - virtual ~OutlinerPrinterPage() + virtual ~OutlinerPrinterPage() override { mpParaObject.reset(); } @@ -1171,7 +1171,7 @@ public: StartListening(mrBase); } - virtual ~Implementation() + virtual ~Implementation() override { EndListening(mrBase); } diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index 6f718f119072..d5fce1d471a4 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -215,7 +215,7 @@ class FocusForwardingWindow : public vcl::Window { public: FocusForwardingWindow (vcl::Window& rParentWindow, ViewShellBase& rBase); - virtual ~FocusForwardingWindow(); + virtual ~FocusForwardingWindow() override; virtual void dispose() override; virtual void KeyInput (const KeyEvent& rEvent) override; virtual void Command (const CommandEvent& rEvent) override; diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx index a2ead2c5af09..623392411dd2 100644 --- a/sd/source/ui/view/drviewsa.cxx +++ b/sd/source/ui/view/drviewsa.cxx @@ -89,7 +89,7 @@ private: public: explicit ScannerEventListener( DrawViewShell* pParent ) : mpParent( pParent ) {} - virtual ~ScannerEventListener(); + virtual ~ScannerEventListener() override; // XEventListener virtual void SAL_CALL disposing( const lang::EventObject& rEventObject ) throw (uno::RuntimeException, std::exception) override; diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 301d202ca1fb..ebb545b3c1c5 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -180,7 +180,7 @@ class ViewRedirector : public sdr::contact::ViewObjectContactRedirector { public: ViewRedirector(); - virtual ~ViewRedirector(); + virtual ~ViewRedirector() override; // all default implementations just call the same methods at the original. To do something // different, override the method and at least do what the method does. diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx index 40f210d8fbbe..e38765c55f28 100644 --- a/sd/source/ui/view/viewoverlaymanager.cxx +++ b/sd/source/ui/view/viewoverlaymanager.cxx @@ -104,7 +104,7 @@ class ChangePlaceholderTag : public SmartTag friend class ImageButtonHdl; public: ChangePlaceholderTag( ::sd::View& rView, SdrObject& rPlaceholderObj ); - virtual ~ChangePlaceholderTag(); + virtual ~ChangePlaceholderTag() override; /** returns true if the SmartTag handled the event. */ virtual bool MouseButtonDown( const MouseEvent&, SmartHdl& ) override; @@ -125,7 +125,7 @@ class ImageButtonHdl : public SmartHdl { public: ImageButtonHdl( const SmartTagReference& xTag, /* sal_uInt16 nSID, const Image& rImage, const Image& rImageMO, */ const Point& rPnt ); - virtual ~ImageButtonHdl(); + virtual ~ImageButtonHdl() override; virtual void CreateB2dIAObject() override; virtual bool IsFocusHdl() const override; virtual Pointer GetPointer() const override; diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 32eb612f3aef..71319f90ff80 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -101,7 +101,7 @@ class ViewShellObjectBarFactory { public: explicit ViewShellObjectBarFactory (::sd::ViewShell& rViewShell); - virtual ~ViewShellObjectBarFactory(); + virtual ~ViewShellObjectBarFactory() override; virtual SfxShell* CreateShell ( ::sd::ShellId nId, vcl::Window* pParentWindow, |