diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-25 13:31:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 10:15:00 +0200 |
commit | bdc8fda4be875ff9cfa9c3f4b5e40284a8637374 (patch) | |
tree | 67eb55dcd1e9649e074e49ca0dd069920a2ae866 /sc/source/ui/inc/validate.hxx | |
parent | b11268fadf76618ad37d27219b7f51255f8f8b5a (diff) |
loplugin:constmethod in sc
Change-Id: I78c4fb4acf21756f91582caee5e30e3ad1fc2ae4
Reviewed-on: https://gerrit.libreoffice.org/79543
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/validate.hxx')
-rw-r--r-- | sc/source/ui/inc/validate.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index 2bb9043e8fb3..2c562717f921 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -162,7 +162,7 @@ class ScValidationDlg public: explicit ScValidationDlg(weld::Window* pParent, const SfxItemSet* pArgSet, ScTabViewShell* pTabViewSh); virtual ~ScValidationDlg() override; - static std::shared_ptr<SfxDialogController> Find1AliveObject(weld::Window *pAncestor) + static std::shared_ptr<SfxDialogController> Find1AliveObject(const weld::Window *pAncestor) { return SC_MOD()->Find1RefWindow(SLOTID, pAncestor); } @@ -188,7 +188,7 @@ public: (m_pHandler->*m_pSetActiveHdl)(); } - bool IsRefInputting(){ return m_bRefInputting; } + bool IsRefInputting() const { return m_bRefInputting; } weld::Container* get_refinput_shrink_parent() { return m_xHBox.get(); } virtual void RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton = nullptr ) override @@ -214,7 +214,7 @@ public: (m_pHandler->*m_pRefInputDonePostHdl)(); } - bool IsChildFocus(); + bool IsChildFocus() const; enum { SLOTID = SID_VALIDITY_REFERENCE }; |