summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/DocumentMetadataAccess.hxx2
-rw-r--r--include/sfx2/Metadatable.hxx2
-rw-r--r--include/sfx2/app.hxx2
-rw-r--r--include/sfx2/basedlgs.hxx8
-rw-r--r--include/sfx2/bindings.hxx2
-rw-r--r--include/sfx2/checkin.hxx2
-rw-r--r--include/sfx2/controlwrapper.hxx4
-rw-r--r--include/sfx2/dinfdlg.hxx18
-rw-r--r--include/sfx2/docfile.hxx2
-rw-r--r--include/sfx2/dockwin.hxx2
-rw-r--r--include/sfx2/docstoragemodifylistener.hxx2
-rw-r--r--include/sfx2/emojicontrol.hxx2
-rw-r--r--include/sfx2/emojipopup.hxx2
-rw-r--r--include/sfx2/emojiview.hxx2
-rw-r--r--include/sfx2/emojiviewitem.hxx2
-rw-r--r--include/sfx2/hintpost.hxx2
-rw-r--r--include/sfx2/infobar.hxx6
-rw-r--r--include/sfx2/inputdlg.hxx2
-rw-r--r--include/sfx2/itemconnect.hxx4
-rw-r--r--include/sfx2/linksrc.hxx2
-rw-r--r--include/sfx2/lnkbase.hxx2
-rw-r--r--include/sfx2/mgetempl.hxx2
-rw-r--r--include/sfx2/module.hxx2
-rw-r--r--include/sfx2/new.hxx2
-rw-r--r--include/sfx2/newstyle.hxx2
-rw-r--r--include/sfx2/objsh.hxx2
-rw-r--r--include/sfx2/passwd.hxx2
-rw-r--r--include/sfx2/printer.hxx2
-rw-r--r--include/sfx2/printopt.hxx2
-rw-r--r--include/sfx2/prnmon.hxx2
-rw-r--r--include/sfx2/request.hxx2
-rw-r--r--include/sfx2/saveastemplatedlg.hxx2
-rw-r--r--include/sfx2/sfxbasecontroller.hxx2
-rw-r--r--include/sfx2/sfxbasemodel.hxx2
-rw-r--r--include/sfx2/sfxdlg.hxx2
-rw-r--r--include/sfx2/sfxhelp.hxx2
-rw-r--r--include/sfx2/sfxhtml.hxx2
-rw-r--r--include/sfx2/sfxstatuslistener.hxx2
-rw-r--r--include/sfx2/shell.hxx2
-rw-r--r--include/sfx2/sidebar/Accessible.hxx2
-rw-r--r--include/sfx2/sidebar/AccessibleTitleBar.hxx2
-rw-r--r--include/sfx2/sidebar/ControllerItem.hxx2
-rw-r--r--include/sfx2/sidebar/Deck.hxx2
-rw-r--r--include/sfx2/sidebar/Panel.hxx2
-rw-r--r--include/sfx2/sidebar/PanelTitleBar.hxx2
-rw-r--r--include/sfx2/sidebar/SidebarController.hxx2
-rw-r--r--include/sfx2/sidebar/SidebarDockingWindow.hxx2
-rw-r--r--include/sfx2/sidebar/SidebarPanelBase.hxx2
-rw-r--r--include/sfx2/sidebar/SidebarToolBox.hxx2
-rw-r--r--include/sfx2/sidebar/TabBar.hxx2
-rw-r--r--include/sfx2/sidebar/Theme.hxx2
-rw-r--r--include/sfx2/sidebar/TitleBar.hxx2
-rw-r--r--include/sfx2/sidebar/UnoDeck.hxx2
-rw-r--r--include/sfx2/sidebar/UnoDecks.hxx2
-rw-r--r--include/sfx2/sidebar/UnoPanel.hxx2
-rw-r--r--include/sfx2/sidebar/UnoPanels.hxx2
-rw-r--r--include/sfx2/stbitem.hxx2
-rw-r--r--include/sfx2/styledlg.hxx2
-rw-r--r--include/sfx2/tabdlg.hxx4
-rw-r--r--include/sfx2/tbxctrl.hxx4
-rw-r--r--include/sfx2/templatedlg.hxx6
-rw-r--r--include/sfx2/templatelocalview.hxx2
-rw-r--r--include/sfx2/templateviewitem.hxx2
-rw-r--r--include/sfx2/templdlg.hxx2
-rw-r--r--include/sfx2/thumbnailview.hxx2
-rw-r--r--include/sfx2/titledockwin.hxx2
-rw-r--r--include/sfx2/unoctitm.hxx4
-rw-r--r--include/sfx2/viewfrm.hxx2
-rw-r--r--include/sfx2/viewsh.hxx2
-rw-r--r--include/sfx2/zoomitem.hxx2
70 files changed, 90 insertions, 90 deletions
diff --git a/include/sfx2/DocumentMetadataAccess.hxx b/include/sfx2/DocumentMetadataAccess.hxx
index d77875eb099e..7af6e3264721 100644
--- a/include/sfx2/DocumentMetadataAccess.hxx
+++ b/include/sfx2/DocumentMetadataAccess.hxx
@@ -81,7 +81,7 @@ public:
// caller must immediately call loadFromStorage/Medium!
explicit DocumentMetadataAccess(css::uno::Reference< css::uno::XComponentContext > const & i_xContext,
SfxObjectShell const & i_rRegistrySupplier);
- virtual ~DocumentMetadataAccess();
+ virtual ~DocumentMetadataAccess() override;
// css::rdf::XNode:
virtual OUString SAL_CALL getStringValue()
diff --git a/include/sfx2/Metadatable.hxx b/include/sfx2/Metadatable.hxx
index ca23ffb63e49..2d7bc54d14fb 100644
--- a/include/sfx2/Metadatable.hxx
+++ b/include/sfx2/Metadatable.hxx
@@ -142,7 +142,7 @@ class SFX2_DLLPUBLIC MetadatableMixin :
public:
MetadatableMixin() {};
- virtual ~MetadatableMixin() {}
+ virtual ~MetadatableMixin() override {}
// css::rdf::XNode:
virtual OUString SAL_CALL getStringValue()
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index afeb50110fc2..947387a1a090 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -133,7 +133,7 @@ private:
public:
SfxApplication();
- virtual ~SfxApplication();
+ virtual ~SfxApplication() override;
static SfxApplication* GetOrCreate();
static SfxApplication* Get();
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index 62f1e0413968..afbf05596a38 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -70,7 +70,7 @@ protected:
SfxItemSet* GetOutputSetImpl() { return pOutputSet; }
public:
- virtual ~SfxModalDialog();
+ virtual ~SfxModalDialog() override;
virtual void dispose() override;
const SfxItemSet* GetOutputItemSet() const { return pOutputSet; }
const SfxItemSet* GetInputItemSet() const { return pInputSet; }
@@ -92,7 +92,7 @@ class SFX2_DLLPUBLIC SfxModelessDialog: public ModelessDialog
protected:
SfxModelessDialog( SfxBindings*, SfxChildWindow*,
vcl::Window*, const OUString& rID, const OUString& rUIXMLDescription );
- virtual ~SfxModelessDialog();
+ virtual ~SfxModelessDialog() override;
virtual void dispose() override;
virtual bool Close() override;
virtual void Resize() override;
@@ -131,7 +131,7 @@ protected:
vcl::Window* pParent,
const OString& rID, const OUString& rUIXMLDescription,
const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>());
- virtual ~SfxFloatingWindow();
+ virtual ~SfxFloatingWindow() override;
virtual void dispose() override;
virtual void StateChanged( StateChangedType nStateChange ) override;
@@ -173,7 +173,7 @@ public:
const OUString& rID = OUString("SingleTabDialog"),
const OUString& rUIXMLDescription = OUString("sfx/ui/singletabdialog.ui"));
- virtual ~SfxSingleTabDialog();
+ virtual ~SfxSingleTabDialog() override;
virtual void dispose() override;
void SetTabPage(SfxTabPage* pTabPage, sal_uInt32 nSettingsId = 0);
diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx
index e77785d801ce..f3e5537a7d49 100644
--- a/include/sfx2/bindings.hxx
+++ b/include/sfx2/bindings.hxx
@@ -137,7 +137,7 @@ private:
public:
SfxBindings();
- virtual ~SfxBindings();
+ virtual ~SfxBindings() override;
void HidePopups( bool bHide = true );
SAL_DLLPRIVATE void HidePopupCtrls_Impl( bool bHide = true );
diff --git a/include/sfx2/checkin.hxx b/include/sfx2/checkin.hxx
index 08b5f86ebe47..1722bb9b8f9d 100644
--- a/include/sfx2/checkin.hxx
+++ b/include/sfx2/checkin.hxx
@@ -25,7 +25,7 @@ class SfxCheckinDialog : public ModalDialog
public:
SfxCheckinDialog( vcl::Window* pParent );
- virtual ~SfxCheckinDialog();
+ virtual ~SfxCheckinDialog() override;
virtual void dispose() override;
OUString GetComment( );
diff --git a/include/sfx2/controlwrapper.hxx b/include/sfx2/controlwrapper.hxx
index be0484e6654c..e2d5b55b2ee3 100644
--- a/include/sfx2/controlwrapper.hxx
+++ b/include/sfx2/controlwrapper.hxx
@@ -251,7 +251,7 @@ class SFX2_DLLPUBLIC ColorListBoxWrapper:
public:
explicit ColorListBoxWrapper(ColorListBox & rListBox);
- virtual ~ColorListBoxWrapper();
+ virtual ~ColorListBoxWrapper() override;
virtual bool IsControlDontKnow() const override;
virtual void SetControlDontKnow( bool bSet ) override;
@@ -368,7 +368,7 @@ class SFX2_DLLPUBLIC MultiControlWrapperHelper : public ControlWrapperBase
{
public:
explicit MultiControlWrapperHelper();
- virtual ~MultiControlWrapperHelper();
+ virtual ~MultiControlWrapperHelper() override;
/** Registers a control wrapper (should be a member of a derived class). */
void RegisterControlWrapper( ControlWrapperBase& rWrapper );
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 57a62ff90920..bb177ccc5f93 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -93,7 +93,7 @@ public:
const css::uno::Sequence< css::document::CmisProperty> & i_cmisProps,
bool bUseUserData, bool bUseThumbnailSave );
SfxDocumentInfoItem( const SfxDocumentInfoItem& );
- virtual ~SfxDocumentInfoItem();
+ virtual ~SfxDocumentInfoItem() override;
/// update i_xDocProps with the data in this object
void UpdateDocumentInfo(
@@ -216,7 +216,7 @@ private:
void ImplCheckPasswordState();
protected:
- virtual ~SfxDocumentPage();
+ virtual ~SfxDocumentPage() override;
virtual void dispose() override;
virtual bool FillItemSet( SfxItemSet* ) override;
@@ -241,7 +241,7 @@ private:
SfxDocumentInfoItem* m_pInfoItem;
protected:
- virtual ~SfxDocumentDescPage();
+ virtual ~SfxDocumentDescPage() override;
virtual void dispose() override;
virtual bool FillItemSet( SfxItemSet* ) override;
@@ -366,7 +366,7 @@ private:
public:
CustomPropertiesYesNoButton( vcl::Window* pParent, const ResId& rResId );
- virtual ~CustomPropertiesYesNoButton();
+ virtual ~CustomPropertiesYesNoButton() override;
virtual void dispose() override;
virtual void Resize() override;
@@ -444,7 +444,7 @@ public:
FixedText *pHeaderAccName,
FixedText *pHeaderAccType,
FixedText *pHeaderAccValue);
- virtual ~CustomPropertiesWindow();
+ virtual ~CustomPropertiesWindow() override;
virtual void dispose() override;
bool InitControls( HeaderBar* pHeaderBar, const ScrollBar* pScrollBar );
@@ -480,7 +480,7 @@ private:
public:
CustomPropertiesControl(vcl::Window* pParent);
- virtual ~CustomPropertiesControl();
+ virtual ~CustomPropertiesControl() override;
virtual void dispose() override;
void AddLine( const OUString& sName, css::uno::Any& rAny, bool bInteractive );
@@ -506,7 +506,7 @@ private:
using TabPage::DeactivatePage;
protected:
- virtual ~SfxCustomPropertiesPage();
+ virtual ~SfxCustomPropertiesPage() override;
virtual void dispose() override;
virtual bool FillItemSet( SfxItemSet* ) override;
@@ -559,7 +559,7 @@ struct CmisPropertyLine : public VclBuilderContainer
std::vector< CmisYesNo* > m_aYesNos;
long getItemHeight() const;
CmisPropertyLine( vcl::Window* pParent );
- virtual ~CmisPropertyLine();
+ virtual ~CmisPropertyLine() override;
};
// class CmisPropertiesWindow ------------------------------------------
@@ -634,7 +634,7 @@ protected:
public:
SfxCmisPropertiesPage( vcl::Window* pParent, const SfxItemSet& );
- virtual ~SfxCmisPropertiesPage();
+ virtual ~SfxCmisPropertiesPage() override;
virtual void dispose() override;
static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* );
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index 37576d1bf1a8..76c2a2c9cca2 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -100,7 +100,7 @@ public:
const SfxItemSet* pSet=nullptr );
SfxMedium( const css::uno::Sequence< css::beans::PropertyValue >& aArgs );
- virtual ~SfxMedium();
+ virtual ~SfxMedium() override;
void UseInteractionHandler( bool );
css::uno::Reference< css::task::XInteractionHandler >
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index 0329481f05d8..b9f2e974ce32 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -78,7 +78,7 @@ public:
SfxChildWindow *pCW,
vcl::Window* pParent,
const OString& rID, const OUString& rUIXMLDescription );
- virtual ~SfxDockingWindow();
+ virtual ~SfxDockingWindow() override;
virtual void dispose() override;
void Initialize (SfxChildWinInfo* pInfo);
diff --git a/include/sfx2/docstoragemodifylistener.hxx b/include/sfx2/docstoragemodifylistener.hxx
index 4a4374d4a4e4..4733e2a5f935 100644
--- a/include/sfx2/docstoragemodifylistener.hxx
+++ b/include/sfx2/docstoragemodifylistener.hxx
@@ -69,7 +69,7 @@ namespace sfx2
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
protected:
- virtual ~DocumentStorageModifyListener();
+ virtual ~DocumentStorageModifyListener() override;
private:
DocumentStorageModifyListener( const DocumentStorageModifyListener& ) = delete;
diff --git a/include/sfx2/emojicontrol.hxx b/include/sfx2/emojicontrol.hxx
index 7bf5df9bc239..e3271e4ae2ea 100644
--- a/include/sfx2/emojicontrol.hxx
+++ b/include/sfx2/emojicontrol.hxx
@@ -27,7 +27,7 @@ class SFX2_DLLPUBLIC SfxEmojiControl : public SfxPopupWindow
public:
explicit SfxEmojiControl(sal_uInt16 nId, const css::uno::Reference< css::frame::XFrame >& rFrame);
- virtual ~SfxEmojiControl();
+ virtual ~SfxEmojiControl() override;
virtual void dispose() override;
diff --git a/include/sfx2/emojipopup.hxx b/include/sfx2/emojipopup.hxx
index a6ebc7051383..471df173e802 100644
--- a/include/sfx2/emojipopup.hxx
+++ b/include/sfx2/emojipopup.hxx
@@ -31,7 +31,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
EmojiPopup(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx);
- virtual ~EmojiPopup();
+ virtual ~EmojiPopup() override;
virtual VclPtr<SfxPopupWindow> CreatePopupWindow() override;
};
diff --git a/include/sfx2/emojiview.hxx b/include/sfx2/emojiview.hxx
index 7e83b617d1e4..3c47c3e9b16e 100644
--- a/include/sfx2/emojiview.hxx
+++ b/include/sfx2/emojiview.hxx
@@ -59,7 +59,7 @@ class EmojiView : public ThumbnailView
public:
EmojiView ( vcl::Window* pParent);
- virtual ~EmojiView ();
+ virtual ~EmojiView () override;
// Fill view with emoji unicodes
void Populate ();
diff --git a/include/sfx2/emojiviewitem.hxx b/include/sfx2/emojiviewitem.hxx
index 6e38f17da442..0ca32e78238f 100644
--- a/include/sfx2/emojiviewitem.hxx
+++ b/include/sfx2/emojiviewitem.hxx
@@ -17,7 +17,7 @@ class EmojiViewItem : public ThumbnailViewItem
public:
EmojiViewItem (ThumbnailView &rView, sal_uInt16 nId);
- virtual ~EmojiViewItem ();
+ virtual ~EmojiViewItem () override;
void setCategory (const OUString &rCategory) { msCategory = rCategory; }
diff --git a/include/sfx2/hintpost.hxx b/include/sfx2/hintpost.hxx
index 03a4bec6c143..63d6a17db7d2 100644
--- a/include/sfx2/hintpost.hxx
+++ b/include/sfx2/hintpost.hxx
@@ -44,7 +44,7 @@ private:
DECL_LINK_TYPED( DoEvent_Impl, void*, void );
protected:
- virtual ~SfxHintPoster();
+ virtual ~SfxHintPoster() override;
public:
SfxHintPoster(const Link<SfxRequest*,void>& rLink);
diff --git a/include/sfx2/infobar.hxx b/include/sfx2/infobar.hxx
index 1e5a31ea87d9..96359a1205fd 100644
--- a/include/sfx2/infobar.hxx
+++ b/include/sfx2/infobar.hxx
@@ -30,7 +30,7 @@ class SFX2_DLLPUBLIC SfxInfoBarContainerChild : public SfxChildWindow
sal_uInt16 nId,
SfxBindings* pBindings,
SfxChildWinInfo* pInfo );
- virtual ~SfxInfoBarContainerChild();
+ virtual ~SfxInfoBarContainerChild() override;
SFX_DECL_CHILDWINDOW_WITHID( SfxInfoBarContainerChild );
@@ -56,7 +56,7 @@ class SfxInfoBarWindow : public vcl::Window
const basegfx::BColor* pForegroundColor,
const basegfx::BColor* pMessageColor,
WinBits nMessageStyle );
- virtual ~SfxInfoBarWindow( );
+ virtual ~SfxInfoBarWindow( ) override;
virtual void dispose() override;
const OUString& getId() const { return m_sId; }
@@ -81,7 +81,7 @@ class SfxInfoBarContainerWindow : public vcl::Window
public:
SfxInfoBarContainerWindow(SfxInfoBarContainerChild* pChildWin);
- virtual ~SfxInfoBarContainerWindow( );
+ virtual ~SfxInfoBarContainerWindow( ) override;
virtual void dispose() override;
SfxInfoBarWindow* appendInfoBar(const OUString& sId,
diff --git a/include/sfx2/inputdlg.hxx b/include/sfx2/inputdlg.hxx
index a2a1423fe9e8..11af70168f37 100644
--- a/include/sfx2/inputdlg.hxx
+++ b/include/sfx2/inputdlg.hxx
@@ -25,7 +25,7 @@ public:
OUString GetEntryText () const;
void SetEntryText( OUString const & sStr );
void HideHelpBtn();
- virtual ~InputDialog();
+ virtual ~InputDialog() override;
virtual void dispose() override;
private:
diff --git a/include/sfx2/itemconnect.hxx b/include/sfx2/itemconnect.hxx
index e9d5cae143b8..95a9e5509f39 100644
--- a/include/sfx2/itemconnect.hxx
+++ b/include/sfx2/itemconnect.hxx
@@ -244,7 +244,7 @@ public:
explicit ItemControlConnection( sal_uInt16 nSlot, ControlType& rControl,
ItemConnFlags nFlags = ITEMCONN_DEFAULT );
- virtual ~ItemControlConnection();
+ virtual ~ItemControlConnection() override;
protected:
/** Actions according to current flags for the control. */
@@ -379,7 +379,7 @@ class ItemConnectionArray : public ItemConnectionBase
{
public:
explicit ItemConnectionArray();
- virtual ~ItemConnectionArray();
+ virtual ~ItemConnectionArray() override;
/** Adds a new connection to the list.
@descr Takes ownership of the connection! */
diff --git a/include/sfx2/linksrc.hxx b/include/sfx2/linksrc.hxx
index 7e00047c769b..8c2770a4e1d4 100644
--- a/include/sfx2/linksrc.hxx
+++ b/include/sfx2/linksrc.hxx
@@ -58,7 +58,7 @@ private:
public:
SvLinkSource();
- virtual ~SvLinkSource();
+ virtual ~SvLinkSource() override;
bool HasDataLinks() const;
diff --git a/include/sfx2/lnkbase.hxx b/include/sfx2/lnkbase.hxx
index 36739c79ec17..f8e210ce3228 100644
--- a/include/sfx2/lnkbase.hxx
+++ b/include/sfx2/lnkbase.hxx
@@ -97,7 +97,7 @@ protected:
SvBaseLink();
SvBaseLink( SfxLinkUpdateMode nLinkType, SotClipboardFormatId nContentType = SotClipboardFormatId::STRING );
- virtual ~SvBaseLink();
+ virtual ~SvBaseLink() override;
void GetRealObject_( bool bConnect = true );
diff --git a/include/sfx2/mgetempl.hxx b/include/sfx2/mgetempl.hxx
index 78408344b20a..f5bc75e6afaa 100644
--- a/include/sfx2/mgetempl.hxx
+++ b/include/sfx2/mgetempl.hxx
@@ -79,7 +79,7 @@ friend class SfxStyleDialog;
void UpdateName_Impl(ListBox *, const OUString &rNew);
void SetDescriptionText_Impl();
- virtual ~SfxManageStyleSheetPage();
+ virtual ~SfxManageStyleSheetPage() override;
virtual void dispose() override;
static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* );
diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx
index 12967402dd59..8de3e907e882 100644
--- a/include/sfx2/module.hxx
+++ b/include/sfx2/module.hxx
@@ -70,7 +70,7 @@ private:
public:
SfxModule( ResMgr* pMgrP, std::initializer_list<SfxObjectFactory*> pFactoryList);
- virtual ~SfxModule();
+ virtual ~SfxModule() override;
ResMgr* GetResMgr();
SfxSlotPool* GetSlotPool() const;
diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx
index c7f5b625b01e..a0d58b0fdfec 100644
--- a/include/sfx2/new.hxx
+++ b/include/sfx2/new.hxx
@@ -64,7 +64,7 @@ private:
public:
SfxNewFileDialog(vcl::Window *pParent, sal_uInt16 nFlags = 0);
- virtual ~SfxNewFileDialog();
+ virtual ~SfxNewFileDialog() override;
virtual void dispose() override;
// Returns false, when '- No -' is set as Template
diff --git a/include/sfx2/newstyle.hxx b/include/sfx2/newstyle.hxx
index dff6a3119ea4..142f707c7e34 100644
--- a/include/sfx2/newstyle.hxx
+++ b/include/sfx2/newstyle.hxx
@@ -45,7 +45,7 @@ private:
public:
SfxNewStyleDlg( vcl::Window* pParent, SfxStyleSheetBasePool& );
- virtual ~SfxNewStyleDlg();
+ virtual ~SfxNewStyleDlg() override;
virtual void dispose() override;
OUString GetName() const { return comphelper::string::stripStart(m_pColBox->GetText(), ' '); }
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 2cc4af3055bf..35d6a50c60b8 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -223,7 +223,7 @@ private:
protected:
SfxObjectShell(SfxObjectCreateMode);
SfxObjectShell(SfxModelFlags); // see sfxmodelfactory.hxx
- virtual ~SfxObjectShell();
+ virtual ~SfxObjectShell() override;
void ModifyChanged();
virtual bool Close() override;
diff --git a/include/sfx2/passwd.hxx b/include/sfx2/passwd.hxx
index 60d45aaea06c..128a51a5fdfe 100644
--- a/include/sfx2/passwd.hxx
+++ b/include/sfx2/passwd.hxx
@@ -84,7 +84,7 @@ private:
public:
SfxPasswordDialog(vcl::Window* pParent, const OUString* pGroupText = nullptr);
- virtual ~SfxPasswordDialog();
+ virtual ~SfxPasswordDialog() override;
virtual void dispose() override;
OUString GetUser() const
diff --git a/include/sfx2/printer.hxx b/include/sfx2/printer.hxx
index 2e5d5b43c823..c8d2c1e03143 100644
--- a/include/sfx2/printer.hxx
+++ b/include/sfx2/printer.hxx
@@ -47,7 +47,7 @@ public:
SfxPrinter( SfxItemSet *pTheOptions,
const JobSetup &rTheOrigJobSetup );
SfxPrinter( const SfxPrinter &rPrinter );
- virtual ~SfxPrinter();
+ virtual ~SfxPrinter() override;
virtual void dispose() override;
VclPtr<SfxPrinter> Clone() const;
diff --git a/include/sfx2/printopt.hxx b/include/sfx2/printopt.hxx
index ab1b91428e7a..4d7f96de878e 100644
--- a/include/sfx2/printopt.hxx
+++ b/include/sfx2/printopt.hxx
@@ -91,7 +91,7 @@ protected:
public:
SfxCommonPrintOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
- virtual ~SfxCommonPrintOptionsTabPage();
+ virtual ~SfxCommonPrintOptionsTabPage() override;
virtual void dispose() override;
virtual bool FillItemSet( SfxItemSet* rSet ) override;
virtual void Reset( const SfxItemSet* rSet ) override;
diff --git a/include/sfx2/prnmon.hxx b/include/sfx2/prnmon.hxx
index f54e8837bb16..8df11c89ac39 100644
--- a/include/sfx2/prnmon.hxx
+++ b/include/sfx2/prnmon.hxx
@@ -43,7 +43,7 @@ public:
SfxPrintOptionsDialog( vcl::Window *pParent,
SfxViewShell *pViewShell,
const SfxItemSet *rOptions );
- virtual ~SfxPrintOptionsDialog();
+ virtual ~SfxPrintOptionsDialog() override;
virtual void dispose() override;
virtual short Execute() override;
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx
index d6dd53df7480..1ebc08b531fc 100644
--- a/include/sfx2/request.hxx
+++ b/include/sfx2/request.hxx
@@ -63,7 +63,7 @@ public:
SfxCallMode nCallMode, SfxItemPool &rPool );
SfxRequest( sal_uInt16 nSlot, SfxCallMode nCallMode, const SfxAllItemSet& rSfxArgs );
SfxRequest( const SfxRequest& rOrig );
- virtual ~SfxRequest();
+ virtual ~SfxRequest() override;
sal_uInt16 GetSlot() const { return nSlot; }
void SetSlot(sal_uInt16 nNewSlot) { nSlot = nNewSlot; }
diff --git a/include/sfx2/saveastemplatedlg.hxx b/include/sfx2/saveastemplatedlg.hxx
index 7d4d46e16e0a..d08abf31a931 100644
--- a/include/sfx2/saveastemplatedlg.hxx
+++ b/include/sfx2/saveastemplatedlg.hxx
@@ -61,7 +61,7 @@ public:
explicit SfxSaveAsTemplateDialog();
- virtual ~SfxSaveAsTemplateDialog();
+ virtual ~SfxSaveAsTemplateDialog() override;
virtual void dispose() override;
};
diff --git a/include/sfx2/sfxbasecontroller.hxx b/include/sfx2/sfxbasecontroller.hxx
index f6260c54c238..c87f563380fb 100644
--- a/include/sfx2/sfxbasecontroller.hxx
+++ b/include/sfx2/sfxbasecontroller.hxx
@@ -90,7 +90,7 @@ public:
SfxBaseController( SfxViewShell* pView ) ;
- virtual ~SfxBaseController() ;
+ virtual ~SfxBaseController() override ;
SAL_DLLPRIVATE void ReleaseShell_Impl();
SAL_DLLPRIVATE void BorderWidthsChanged_Impl();
diff --git a/include/sfx2/sfxbasemodel.hxx b/include/sfx2/sfxbasemodel.hxx
index e6c618bdf274..470dd909bbf6 100644
--- a/include/sfx2/sfxbasemodel.hxx
+++ b/include/sfx2/sfxbasemodel.hxx
@@ -174,7 +174,7 @@ public:
SfxBaseModel( SfxObjectShell *pObjectShell = nullptr ) ;
- virtual ~SfxBaseModel() ;
+ virtual ~SfxBaseModel() override ;
// XInterface
diff --git a/include/sfx2/sfxdlg.hxx b/include/sfx2/sfxdlg.hxx
index 13c1908385ed..5469ea36aed2 100644
--- a/include/sfx2/sfxdlg.hxx
+++ b/include/sfx2/sfxdlg.hxx
@@ -114,7 +114,7 @@ namespace com { namespace sun { namespace star { namespace frame { class XFrame;
class SFX2_DLLPUBLIC SfxAbstractDialogFactory : virtual public VclAbstractDialogFactory
{
public:
- virtual ~SfxAbstractDialogFactory(); // needed for export of vtable
+ virtual ~SfxAbstractDialogFactory() override; // needed for export of vtable
static SfxAbstractDialogFactory* Create();
virtual VclAbstractDialog* CreateFrameDialog( const css::uno::Reference< css::frame::XFrame >& rFrame, sal_uInt32 nResId, const rtl::OUString& rParameter ) = 0;
virtual SfxAbstractTabDialog* CreateAutoCorrTabDialog( const SfxItemSet* pAttrSet ) = 0;
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx
index 12b2f806fcd8..da6a5a281383 100644
--- a/include/sfx2/sfxhelp.hxx
+++ b/include/sfx2/sfxhelp.hxx
@@ -41,7 +41,7 @@ private:
public:
SfxHelp();
- virtual ~SfxHelp();
+ virtual ~SfxHelp() override;
virtual OUString GetHelpText( const OUString&, const vcl::Window* pWindow ) override;
diff --git a/include/sfx2/sfxhtml.hxx b/include/sfx2/sfxhtml.hxx
index 93e25e04cc5f..6be84c2f98d5 100644
--- a/include/sfx2/sfxhtml.hxx
+++ b/include/sfx2/sfxhtml.hxx
@@ -47,7 +47,7 @@ protected:
SfxHTMLParser( SvStream& rStream, bool bNewDoc=true, SfxMedium *pMedium=nullptr );
- virtual ~SfxHTMLParser();
+ virtual ~SfxHTMLParser() override;
public:
// Read the options of an image map
diff --git a/include/sfx2/sfxstatuslistener.hxx b/include/sfx2/sfxstatuslistener.hxx
index 560a0e570f48..ab9cb1e85363 100644
--- a/include/sfx2/sfxstatuslistener.hxx
+++ b/include/sfx2/sfxstatuslistener.hxx
@@ -39,7 +39,7 @@ class SFX2_DLLPUBLIC SfxStatusListener : public ::cppu::WeakImplHelper2<
public:
SfxStatusListener( const css::uno::Reference< css::frame::XDispatchProvider >& rDispatchProvider, sal_uInt16 nSlotId, const OUString& aCommand );
- virtual ~SfxStatusListener();
+ virtual ~SfxStatusListener() override;
// old methods from SfxControllerItem
sal_uInt16 GetId() const { return m_nSlotID; }
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index ed7b55bb7c7d..ffb6d27c70d9 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -148,7 +148,7 @@ public:
The SbxObject may continue to exist, but can not any longer perform
any functions and can not provide any properties.
*/
- virtual ~SfxShell();
+ virtual ~SfxShell() override;
/**
With this virtual method, which is automatically overridden by each subclass
diff --git a/include/sfx2/sidebar/Accessible.hxx b/include/sfx2/sidebar/Accessible.hxx
index 434e7aad43c6..eaa3f52eeba9 100644
--- a/include/sfx2/sidebar/Accessible.hxx
+++ b/include/sfx2/sidebar/Accessible.hxx
@@ -46,7 +46,7 @@ class Accessible
public:
explicit Accessible (
const css::uno::Reference<css::accessibility::XAccessibleContext>& rxContext);
- virtual ~Accessible();
+ virtual ~Accessible() override;
Accessible(const Accessible&) = delete;
Accessible& operator=( const Accessible& ) = delete;
diff --git a/include/sfx2/sidebar/AccessibleTitleBar.hxx b/include/sfx2/sidebar/AccessibleTitleBar.hxx
index e81a9722b229..3ed43ab248b2 100644
--- a/include/sfx2/sidebar/AccessibleTitleBar.hxx
+++ b/include/sfx2/sidebar/AccessibleTitleBar.hxx
@@ -37,7 +37,7 @@ protected:
private:
explicit AccessibleTitleBar (VCLXWindow* pWindow);
- virtual ~AccessibleTitleBar();
+ virtual ~AccessibleTitleBar() override;
};
} } // end of namespace sfx2::sidebar
diff --git a/include/sfx2/sidebar/ControllerItem.hxx b/include/sfx2/sidebar/ControllerItem.hxx
index ef2bf845c9f6..b984792c87bf 100644
--- a/include/sfx2/sidebar/ControllerItem.hxx
+++ b/include/sfx2/sidebar/ControllerItem.hxx
@@ -81,7 +81,7 @@ public:
/// releases our action listener
virtual void dispose() override;
- virtual ~ControllerItem();
+ virtual ~ControllerItem() override;
/** Returns </TRUE> when the slot/command has not been disabled.
Changes of this state are notified via the
diff --git a/include/sfx2/sidebar/Deck.hxx b/include/sfx2/sidebar/Deck.hxx
index c336d9f808f2..299e25641e30 100644
--- a/include/sfx2/sidebar/Deck.hxx
+++ b/include/sfx2/sidebar/Deck.hxx
@@ -41,7 +41,7 @@ public:
Deck(const DeckDescriptor& rDeckDescriptor,
vcl::Window* pParentWindow,
const std::function<void()>& rCloserAction);
- virtual ~Deck();
+ virtual ~Deck() override;
virtual void dispose() override;
const OUString& GetId() const { return msId; }
diff --git a/include/sfx2/sidebar/Panel.hxx b/include/sfx2/sidebar/Panel.hxx
index 1ea28de425e6..67939992fb4f 100644
--- a/include/sfx2/sidebar/Panel.hxx
+++ b/include/sfx2/sidebar/Panel.hxx
@@ -43,7 +43,7 @@ public:
const std::function<Context()>& rContextAccess,
const css::uno::Reference<css::frame::XFrame>& rxFrame);
- virtual ~Panel();
+ virtual ~Panel() override;
virtual void dispose() override;
PanelTitleBar* GetTitleBar() const;
diff --git a/include/sfx2/sidebar/PanelTitleBar.hxx b/include/sfx2/sidebar/PanelTitleBar.hxx
index 52a04eb938d1..998a12d68ee6 100644
--- a/include/sfx2/sidebar/PanelTitleBar.hxx
+++ b/include/sfx2/sidebar/PanelTitleBar.hxx
@@ -32,7 +32,7 @@ class PanelTitleBar
{
public:
PanelTitleBar(const OUString& rsTitle, vcl::Window* pParentWindow, Panel* pPanel);
- virtual ~PanelTitleBar();
+ virtual ~PanelTitleBar() override;
virtual void dispose() override;
void SetMoreOptionsCommand(const OUString& rsCommandName,
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx
index 8ff117f7d7cf..c32e9c4410a7 100644
--- a/include/sfx2/sidebar/SidebarController.hxx
+++ b/include/sfx2/sidebar/SidebarController.hxx
@@ -72,7 +72,7 @@ public:
SidebarController(
SidebarDockingWindow* pParentWindow,
const css::uno::Reference<css::frame::XFrame>& rxFrame);
- virtual ~SidebarController();
+ virtual ~SidebarController() override;
SidebarController(const SidebarController&) = delete;
SidebarController& operator=( const SidebarController& ) = delete;
diff --git a/include/sfx2/sidebar/SidebarDockingWindow.hxx b/include/sfx2/sidebar/SidebarDockingWindow.hxx
index e725031c8aa5..0a0a55c76c5e 100644
--- a/include/sfx2/sidebar/SidebarDockingWindow.hxx
+++ b/include/sfx2/sidebar/SidebarDockingWindow.hxx
@@ -34,7 +34,7 @@ class SidebarDockingWindow : public SfxDockingWindow
public:
SidebarDockingWindow(SfxBindings* pBindings, SidebarChildWindow& rChildWindow,
vcl::Window* pParent, WinBits nBits);
- virtual ~SidebarDockingWindow();
+ virtual ~SidebarDockingWindow() override;
virtual void dispose() override;
using SfxDockingWindow::Close;
diff --git a/include/sfx2/sidebar/SidebarPanelBase.hxx b/include/sfx2/sidebar/SidebarPanelBase.hxx
index 606d65c335ef..e0943b4bccf9 100644
--- a/include/sfx2/sidebar/SidebarPanelBase.hxx
+++ b/include/sfx2/sidebar/SidebarPanelBase.hxx
@@ -102,7 +102,7 @@ protected:
SidebarPanelBase(const OUString& rsResourceURL, const css::uno::Reference<css::frame::XFrame>& rxFrame,
vcl::Window* pWindow, const css::ui::LayoutSize& rLayoutSize);
- virtual ~SidebarPanelBase();
+ virtual ~SidebarPanelBase() override;
SidebarPanelBase(const SidebarPanelBase&) = delete;
SidebarPanelBase& operator=( const SidebarPanelBase& ) = delete;
diff --git a/include/sfx2/sidebar/SidebarToolBox.hxx b/include/sfx2/sidebar/SidebarToolBox.hxx
index 3eb7eb49efe2..893e8cecf16f 100644
--- a/include/sfx2/sidebar/SidebarToolBox.hxx
+++ b/include/sfx2/sidebar/SidebarToolBox.hxx
@@ -40,7 +40,7 @@ class SFX2_DLLPUBLIC SidebarToolBox : public ToolBox
{
public:
SidebarToolBox(vcl::Window* pParentWindow);
- virtual ~SidebarToolBox();
+ virtual ~SidebarToolBox() override;
virtual void dispose() override;
virtual ToolBoxButtonSize GetIconSize() const;
diff --git a/include/sfx2/sidebar/TabBar.hxx b/include/sfx2/sidebar/TabBar.hxx
index a805a94cd42a..e8982460c75a 100644
--- a/include/sfx2/sidebar/TabBar.hxx
+++ b/include/sfx2/sidebar/TabBar.hxx
@@ -72,7 +72,7 @@ public:
const PopupMenuProvider& rPopupMenuProvider,
SidebarController* rParentSidebarController);
- virtual ~TabBar();
+ virtual ~TabBar() override;
virtual void dispose() override;
virtual void Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle& rUpdateArea) override;
diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx
index 2e12de396a92..84552e54bd44 100644
--- a/include/sfx2/sidebar/Theme.hxx
+++ b/include/sfx2/sidebar/Theme.hxx
@@ -148,7 +148,7 @@ public:
void InitializeTheme();
Theme();
- virtual ~Theme();
+ virtual ~Theme() override;
Theme(const Theme&) = delete;
Theme& operator=( const Theme& ) = delete;
diff --git a/include/sfx2/sidebar/TitleBar.hxx b/include/sfx2/sidebar/TitleBar.hxx
index 868e1327c0f1..612172e8e881 100644
--- a/include/sfx2/sidebar/TitleBar.hxx
+++ b/include/sfx2/sidebar/TitleBar.hxx
@@ -32,7 +32,7 @@ public:
TitleBar (const OUString& rsTitle,
vcl::Window* pParentWindow,
const sidebar::Paint& rInitialBackgroundPaint);
- virtual ~TitleBar();
+ virtual ~TitleBar() override;
virtual void dispose() override;
void SetTitle (const OUString& rsTitle);
diff --git a/include/sfx2/sidebar/UnoDeck.hxx b/include/sfx2/sidebar/UnoDeck.hxx
index 74d4d75e665e..9de2feb69c1c 100644
--- a/include/sfx2/sidebar/UnoDeck.hxx
+++ b/include/sfx2/sidebar/UnoDeck.hxx
@@ -30,7 +30,7 @@ class SfxUnoDeck : public ::cppu::WeakImplHelper1< css::ui::XDeck >
public:
SfxUnoDeck(const css::uno::Reference<css::frame::XFrame>& , const OUString&);
- virtual ~SfxUnoDeck() {};
+ virtual ~SfxUnoDeck() override {};
virtual OUString SAL_CALL getId()
throw(css::uno::RuntimeException, std::exception) override;
diff --git a/include/sfx2/sidebar/UnoDecks.hxx b/include/sfx2/sidebar/UnoDecks.hxx
index b073033064c7..88571996ace4 100644
--- a/include/sfx2/sidebar/UnoDecks.hxx
+++ b/include/sfx2/sidebar/UnoDecks.hxx
@@ -32,7 +32,7 @@ class SfxUnoDecks : public ::cppu::WeakImplHelper1< css::ui::XDecks >
public:
SfxUnoDecks(const css::uno::Reference<css::frame::XFrame>&);
- virtual ~SfxUnoDecks() {};
+ virtual ~SfxUnoDecks() override {};
// XNameAccess
diff --git a/include/sfx2/sidebar/UnoPanel.hxx b/include/sfx2/sidebar/UnoPanel.hxx
index 227358e61ba3..88f47e9ecf45 100644
--- a/include/sfx2/sidebar/UnoPanel.hxx
+++ b/include/sfx2/sidebar/UnoPanel.hxx
@@ -33,7 +33,7 @@ class SfxUnoPanel : public ::cppu::WeakImplHelper1< css::ui::XPanel >
public:
SfxUnoPanel(const css::uno::Reference<css::frame::XFrame>& , const OUString&, const OUString&);
- virtual ~SfxUnoPanel() {};
+ virtual ~SfxUnoPanel() override {};
virtual OUString SAL_CALL getId()
throw(css::uno::RuntimeException, std::exception) override;
diff --git a/include/sfx2/sidebar/UnoPanels.hxx b/include/sfx2/sidebar/UnoPanels.hxx
index d23d3da14011..f34aefca4f31 100644
--- a/include/sfx2/sidebar/UnoPanels.hxx
+++ b/include/sfx2/sidebar/UnoPanels.hxx
@@ -30,7 +30,7 @@ class SfxUnoPanels : public ::cppu::WeakImplHelper1< css::ui::XPanels >
public:
SfxUnoPanels(const css::uno::Reference<css::frame::XFrame>& , const OUString&);
- virtual ~SfxUnoPanels() {};
+ virtual ~SfxUnoPanels() override {};
// XPanels
virtual OUString SAL_CALL getDeckId()
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index f4970d884cac..6f54c4a3d413 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -107,7 +107,7 @@ protected:
public:
SfxStatusBarControl( sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar& rBar );
- virtual ~SfxStatusBarControl();
+ virtual ~SfxStatusBarControl() override;
sal_uInt16 GetSlotId() const { return nSlotId; }
sal_uInt16 GetId() const { return nId; }
diff --git a/include/sfx2/styledlg.hxx b/include/sfx2/styledlg.hxx
index a1c799e347c1..50756c0f2783 100644
--- a/include/sfx2/styledlg.hxx
+++ b/include/sfx2/styledlg.hxx
@@ -38,7 +38,7 @@ public:
SfxStyleDialog(vcl::Window* pParent, const OUString& rID,
const OUString& rUIXMLDescription, SfxStyleSheetBase&);
- virtual ~SfxStyleDialog();
+ virtual ~SfxStyleDialog() override;
virtual void dispose() override;
SfxStyleSheetBase& GetStyleSheet() { return *pStyle; }
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index d80d269c2293..663310f3cb7f 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -124,7 +124,7 @@ public:
SfxTabDialog(vcl::Window* pParent,
const OUString& rID, const OUString& rUIXMLDescription,
const SfxItemSet * = nullptr, bool bEditFmt = false);
- virtual ~SfxTabDialog();
+ virtual ~SfxTabDialog() override;
virtual void dispose() override;
sal_uInt16 AddTabPage( const OString& rName, // Name of the label for the page in the notebook .ui
@@ -243,7 +243,7 @@ protected:
void AddItemConnection( sfx::ItemConnectionBase* pConnection );
public:
- virtual ~SfxTabPage();
+ virtual ~SfxTabPage() override;
virtual void dispose() override;
const SfxItemSet& GetItemSet() const { return *pSet; }
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index 6c0d322d2bcb..3a9d101549ba 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -116,7 +116,7 @@ public:
const css::uno::Reference< css::frame::XFrame >& rFrame,
vcl::Window* pParentWindow,
WinBits nBits );
- virtual ~SfxPopupWindow();
+ virtual ~SfxPopupWindow() override;
virtual void dispose() override;
virtual void MouseMove( const MouseEvent& rMEvt ) override;
@@ -203,7 +203,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SfxToolBoxControl( sal_uInt16 nSlotID, sal_uInt16 nId, ToolBox& rBox, bool bShowStrings = false );
- virtual ~SfxToolBoxControl();
+ virtual ~SfxToolBoxControl() override;
ToolBox& GetToolBox() const;
unsigned short GetId() const;
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx
index ba975f57fe9e..acb15217382d 100644
--- a/include/sfx2/templatedlg.hxx
+++ b/include/sfx2/templatedlg.hxx
@@ -46,7 +46,7 @@ public:
SfxTemplateManagerDlg(vcl::Window *parent = nullptr);
- virtual ~SfxTemplateManagerDlg();
+ virtual ~SfxTemplateManagerDlg() override;
virtual void dispose() override;
virtual short Execute() override;
@@ -185,7 +185,7 @@ public:
explicit SfxTemplateCategoryDialog();
- virtual ~SfxTemplateCategoryDialog();
+ virtual ~SfxTemplateCategoryDialog() override;
virtual void dispose() override;
};
@@ -197,7 +197,7 @@ class SFX2_DLLPUBLIC SfxTemplateSelectionDlg : public SfxTemplateManagerDlg
public:
SfxTemplateSelectionDlg(vcl::Window *parent = nullptr);
- virtual ~SfxTemplateSelectionDlg();
+ virtual ~SfxTemplateSelectionDlg() override;
virtual void dispose() override;
virtual short Execute() override;
diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx
index e83e71cbfa6c..300330c87a93 100644
--- a/include/sfx2/templatelocalview.hxx
+++ b/include/sfx2/templatelocalview.hxx
@@ -80,7 +80,7 @@ public:
TemplateLocalView ( vcl::Window* pParent );
- virtual ~TemplateLocalView ();
+ virtual ~TemplateLocalView () override;
virtual void dispose() override;
// Fill view with new item list
diff --git a/include/sfx2/templateviewitem.hxx b/include/sfx2/templateviewitem.hxx
index c6bcbfb656dc..098241fcf1af 100644
--- a/include/sfx2/templateviewitem.hxx
+++ b/include/sfx2/templateviewitem.hxx
@@ -18,7 +18,7 @@ public:
TemplateViewItem (ThumbnailView &rView, sal_uInt16 nId);
- virtual ~TemplateViewItem ();
+ virtual ~TemplateViewItem () override;
void setPath (const OUString &rPath) { maPath = rPath; }
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index 9ffded71a851..4f918c839205 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -34,7 +34,7 @@ class SFX2_DLLPUBLIC SfxTemplatePanelControl : public vcl::Window
{
public:
SfxTemplatePanelControl(SfxBindings* pBindings, vcl::Window* pParentWindow);
- virtual ~SfxTemplatePanelControl();
+ virtual ~SfxTemplatePanelControl() override;
virtual void dispose() override;
virtual void DataChanged( const DataChangedEvent& _rDCEvt ) override;
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index c4e2e1a069f7..f761a3780b00 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -182,7 +182,7 @@ public:
ThumbnailView(vcl::Window* pParent, WinBits nWinStyle = WB_TABSTOP);
- virtual ~ThumbnailView();
+ virtual ~ThumbnailView() override;
virtual void dispose() override;
virtual void MouseMove(const MouseEvent& rMEvt) override;
diff --git a/include/sfx2/titledockwin.hxx b/include/sfx2/titledockwin.hxx
index cbb8766da125..2a4541b480b9 100644
--- a/include/sfx2/titledockwin.hxx
+++ b/include/sfx2/titledockwin.hxx
@@ -37,7 +37,7 @@ namespace sfx2
vcl::Window* i_pParent
);
- virtual ~TitledDockingWindow();
+ virtual ~TitledDockingWindow() override;
virtual void dispose() override;
/** sets a title to be displayed in the docking window
diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx
index 834f3b71ea52..9446bc10d50d 100644
--- a/include/sfx2/unoctitm.hxx
+++ b/include/sfx2/unoctitm.hxx
@@ -82,7 +82,7 @@ public:
SfxOfficeDispatch( SfxDispatcher* pDispat,
const SfxSlot* pSlot,
const css::util::URL& rURL );
- virtual ~SfxOfficeDispatch();
+ virtual ~SfxOfficeDispatch() override;
virtual void SAL_CALL dispatchWithNotification( const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
@@ -134,7 +134,7 @@ public:
SfxDispatcher* pDispat,
const SfxSlot* pSlot,
const css::util::URL& rURL );
- virtual ~SfxDispatchController_Impl();
+ virtual ~SfxDispatchController_Impl() override;
static OUString getSlaveCommand( const css::util::URL& rURL );
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index 4c40587f5bbd..90d49a84964a 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -80,7 +80,7 @@ protected:
DECL_LINK_TYPED( SwitchReadOnlyHandler, Button*, void );
SAL_DLLPRIVATE void KillDispatcher_Impl();
- virtual ~SfxViewFrame();
+ virtual ~SfxViewFrame() override;
public:
SfxViewFrame( SfxFrame& rFrame, SfxObjectShell *pDoc = nullptr );
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 1c7266a141b7..c0a9be248175 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -188,7 +188,7 @@ private:
public:
SfxViewShell( SfxViewFrame *pFrame, SfxViewShellFlags nFlags = SfxViewShellFlags::NONE );
- virtual ~SfxViewShell();
+ virtual ~SfxViewShell() override;
SfxInPlaceClient* GetIPClient() const;
SfxInPlaceClient* GetUIActiveClient() const;
diff --git a/include/sfx2/zoomitem.hxx b/include/sfx2/zoomitem.hxx
index 84632ea96643..b846079a3dfd 100644
--- a/include/sfx2/zoomitem.hxx
+++ b/include/sfx2/zoomitem.hxx
@@ -63,7 +63,7 @@ public:
SvxZoomItem( SvxZoomType eZoomType = SvxZoomType::PERCENT,
sal_uInt16 nVal = 0, sal_uInt16 nWhich = SID_ATTR_ZOOM );
SvxZoomItem( const SvxZoomItem& );
- virtual ~SvxZoomItem();
+ virtual ~SvxZoomItem() override;
void SetValueSet( SvxZoomEnableFlags nValues ) { nValueSet = nValues; }
SvxZoomEnableFlags GetValueSet() const { return nValueSet; }