summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 17:32:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 10:56:53 +0100
commit570eed8ce4761cea0aa74efc85c182bc4af45493 (patch)
tree138f034ae9b9c10ed4959f3445aeb9b14153a0df /fpicker
parentbcb5a3121d089c059b0293c4402c3617bbe3d131 (diff)
loplugin:finalclasses in forms
Change-Id: I0f849fd104699e2861aaba2d4be38168e80703b0 Reviewed-on: https://gerrit.libreoffice.org/44189 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/fpinteraction.hxx7
-rw-r--r--fpicker/source/office/iodlg.hxx3
2 files changed, 4 insertions, 6 deletions
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<CheckBox> _pCbReadOnly;
@@ -145,7 +145,6 @@ private:
void implUpdateImages( );
-protected:
virtual bool EventNotify( NotifyEvent& rNEvt ) override;
OUString _aPath;