diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-24 12:24:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-24 15:15:14 +0200 |
commit | c137c2a46cd2276938d572c97fb111b9aa31cdfd (patch) | |
tree | 9fe4c1809e836f3c177fd930b632af6cad5407c0 /sc/source/ui/inc/validate.hxx | |
parent | 9fe857b7bd126ff4856fc4689d375881653b97a2 (diff) |
loplugin:constparam in sc part5
Change-Id: Iba249d4d8f7cc686941106983031bae53c7528e1
Reviewed-on: https://gerrit.libreoffice.org/41510
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-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 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index 9829a1922ed9..678a68313d70 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -41,18 +41,18 @@ protected: #ifdef SAL_W32 #pragma pack(push, 16) #endif - void (ScRefHandlerCaller::*m_pSetReferenceHdl)( const ScRange& , ScDocument* ); + void (ScRefHandlerCaller::*m_pSetReferenceHdl)( const ScRange& , const ScDocument* ); void (ScRefHandlerCaller::*m_pSetActiveHdl)(); - void (ScRefHandlerCaller::*m_pRefInputStartPreHdl)( formula::RefEdit* pEdit, formula::RefButton* pButton ); + void (ScRefHandlerCaller::*m_pRefInputStartPreHdl)( formula::RefEdit* pEdit, const formula::RefButton* pButton ); void (ScRefHandlerCaller::*m_pRefInputDonePostHdl)(); #if defined( SAL_W32) #pragma pack(pop) #endif public: - typedef void (ScRefHandlerCaller::*PFUNCSETREFHDLTYPE)( const ScRange& , ScDocument* ); + typedef void (ScRefHandlerCaller::*PFUNCSETREFHDLTYPE)( const ScRange& , const ScDocument* ); typedef void (ScRefHandlerCaller::*PCOMMONHDLTYPE)(); - typedef void (ScRefHandlerCaller::*PINPUTSTARTDLTYPE)( formula::RefEdit* pEdit, formula::RefButton* pButton ); + typedef void (ScRefHandlerCaller::*PINPUTSTARTDLTYPE)( formula::RefEdit* pEdit, const formula::RefButton* pButton ); void SetSetRefHdl( PFUNCSETREFHDLTYPE pNewHdl ) { @@ -125,7 +125,7 @@ private: DECL_LINK( EditSetFocusHdl, Control&, void ); DECL_LINK( KillFocusHdl, Control&, void ); - void OnClick( Button *pBtn ); + void OnClick( const Button *pBtn ); VclPtr<formula::RefEdit> m_pRefEdit; public: class ScRefButtonEx : public ::formula::RefButton @@ -153,9 +153,9 @@ private: VclPtr<ScRefButtonEx> m_pBtnRef; VclPtr<VclContainer> m_pRefGrid; friend class ScRefButtonEx; - void SetReferenceHdl( const ScRange& , ScDocument* ); + void SetReferenceHdl( const ScRange& , const ScDocument* ); void SetActiveHdl(); - void RefInputStartPreHdl( formula::RefEdit* pEdit, formula::RefButton* pButton ); + void RefInputStartPreHdl( formula::RefEdit* pEdit, const formula::RefButton* pButton ); void RefInputDonePostHdl(); ScValidationDlg * GetValidationDlg(); public: |