From 570eed8ce4761cea0aa74efc85c182bc4af45493 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Nov 2017 17:32:31 +0200 Subject: loplugin:finalclasses in forms Change-Id: I0f849fd104699e2861aaba2d4be38168e80703b0 Reviewed-on: https://gerrit.libreoffice.org/44189 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- fpicker/source/office/fpinteraction.hxx | 7 +++---- fpicker/source/office/iodlg.hxx | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/fpinteraction.hxx b/fpicker/source/office/fpinteraction.hxx index f4ad88fb8122..5827463d8801 100644 --- a/fpicker/source/office/fpinteraction.hxx +++ b/fpicker/source/office/fpinteraction.hxx @@ -35,7 +35,7 @@ namespace svt /** a InteractionHandler implementation which extends another handler with some customizability */ - class OFilePickerInteractionHandler : public OFilePickerInteractionHandler_Base + class OFilePickerInteractionHandler final : public OFilePickerInteractionHandler_Base { public: /** flags, which indicates special handled interactions @@ -49,7 +49,7 @@ namespace svt // next values [2,4,8,16 ...]! }; - protected: + private: css::uno::Reference< css::task::XInteractionHandler > m_xMaster; // our master handler css::uno::Any m_aException; // the last handled request bool m_bUsed; // indicates using of this interaction handler instance @@ -67,11 +67,10 @@ namespace svt // functions to analyze last cached request bool wasAccessDenied() const; - protected: + private: // XInteractionHandler virtual void SAL_CALL handle( const css::uno::Reference< css::task::XInteractionRequest >& _rxRequest ) override; - private: virtual ~OFilePickerInteractionHandler() override; }; diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index db2764e2efe0..11a229188661 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.hxx @@ -64,7 +64,7 @@ namespace o3tl { } -class SvtFileDialog : public SvtFileDialog_Base +class SvtFileDialog final : public SvtFileDialog_Base { private: VclPtr _pCbReadOnly; @@ -145,7 +145,6 @@ private: void implUpdateImages( ); -protected: virtual bool EventNotify( NotifyEvent& rNEvt ) override; OUString _aPath; -- cgit