diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-13 15:08:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-13 14:58:03 +0100 |
commit | c1e96a5d323614f1566702c933dcda9d89d23632 (patch) | |
tree | f1b7a64d415a09ba071623b1faff9f63e26457ac /sfx2 | |
parent | 029044bd5b5989e4b1a965f89e6ba79bf9717bc2 (diff) |
loplugin:finalclasses in package..sfx2
Change-Id: I2908abc13f16b0011fcb326e8405080cc30df74a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86684
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/autoredactdialog.hxx | 4 | ||||
-rw-r--r-- | sfx2/inc/inettbc.hxx | 2 | ||||
-rw-r--r-- | sfx2/inc/preventduplicateinteraction.hxx | 4 | ||||
-rw-r--r-- | sfx2/inc/saveastemplatedlg.hxx | 2 | ||||
-rw-r--r-- | sfx2/inc/sorgitm.hxx | 2 | ||||
-rw-r--r-- | sfx2/inc/srchdlg.hxx | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/inc/autoredactdialog.hxx b/sfx2/inc/autoredactdialog.hxx index 50b96d6f709b..d43d88e774b1 100644 --- a/sfx2/inc/autoredactdialog.hxx +++ b/sfx2/inc/autoredactdialog.hxx @@ -96,7 +96,7 @@ enum class StartFileDialogType SaveAs }; -class SfxAutoRedactDialog : public SfxDialogController +class SfxAutoRedactDialog final : public SfxDialogController { SfxObjectShellLock m_xDocShell; std::vector<std::pair<RedactionTarget*, OUString>> m_aTableTargets; @@ -142,7 +142,7 @@ public: bool getTargets(std::vector<std::pair<RedactionTarget*, OUString>>& r_aTargets); }; -class SfxAddTargetDialog : public weld::GenericDialogController +class SfxAddTargetDialog final : public weld::GenericDialogController { private: std::unique_ptr<weld::Entry> m_xName; diff --git a/sfx2/inc/inettbc.hxx b/sfx2/inc/inettbc.hxx index 53acd96c9abf..3b940931e6e4 100644 --- a/sfx2/inc/inettbc.hxx +++ b/sfx2/inc/inettbc.hxx @@ -26,7 +26,7 @@ class SvtURLBox; -class SfxURLToolBoxControl_Impl : public SfxToolBoxControl +class SfxURLToolBoxControl_Impl final : public SfxToolBoxControl { private: diff --git a/sfx2/inc/preventduplicateinteraction.hxx b/sfx2/inc/preventduplicateinteraction.hxx index 92680833c815..a9db2c3b4ebe 100644 --- a/sfx2/inc/preventduplicateinteraction.hxx +++ b/sfx2/inc/preventduplicateinteraction.hxx @@ -55,7 +55,7 @@ inline void closedialogs(SystemWindow& rTopLevel, bool bCloseRoot) // // If there are dialog children open on exit then veto termination, // close the topmost dialog and retry termination. -class WarningDialogsParent : +class WarningDialogsParent final : public cppu::WeakComponentImplHelper<css::frame::XTerminateListener> { private: @@ -157,7 +157,7 @@ struct ThreadHelpBase2 mutable ::osl::Mutex m_aLock; }; -class PreventDuplicateInteraction : private ThreadHelpBase2 +class PreventDuplicateInteraction final : private ThreadHelpBase2 , public ::cppu::WeakImplHelper<css::lang::XInitialization, css::task::XInteractionHandler2> { diff --git a/sfx2/inc/saveastemplatedlg.hxx b/sfx2/inc/saveastemplatedlg.hxx index b029a7e13031..a4df61853aaf 100644 --- a/sfx2/inc/saveastemplatedlg.hxx +++ b/sfx2/inc/saveastemplatedlg.hxx @@ -17,7 +17,7 @@ #include <com/sun/star/frame/XModel.hpp> // class SfxSaveAsTemplateDialog ------------------------------------------------------------------- -class SfxSaveAsTemplateDialog : public weld::GenericDialogController +class SfxSaveAsTemplateDialog final : public weld::GenericDialogController { private: std::unique_ptr<weld::TreeView> m_xLBCategory; diff --git a/sfx2/inc/sorgitm.hxx b/sfx2/inc/sorgitm.hxx index 7c07f27917f6..d67d890620eb 100644 --- a/sfx2/inc/sorgitm.hxx +++ b/sfx2/inc/sorgitm.hxx @@ -23,7 +23,7 @@ // class SfxScriptOrganizerItem --------------------------------------------- -class SfxScriptOrganizerItem : public SfxStringItem +class SfxScriptOrganizerItem final : public SfxStringItem { private: OUString aLanguage; diff --git a/sfx2/inc/srchdlg.hxx b/sfx2/inc/srchdlg.hxx index 4767dc28aa1e..4983336b978a 100644 --- a/sfx2/inc/srchdlg.hxx +++ b/sfx2/inc/srchdlg.hxx @@ -27,7 +27,7 @@ namespace sfx2 { // SearchDialog -class SearchDialog : public weld::GenericDialogController +class SearchDialog final : public weld::GenericDialogController { private: Link<SearchDialog&,void> m_aFindHdl; |