diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-14 13:54:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-15 09:36:41 +0200 |
commit | abb87856dd6a722245cc9dd690bfcec6ecd901da (patch) | |
tree | a2d28f2bebb91cb8b25a51a8b5ae9890ebddd3ce /sc/source/ui/inc/validate.hxx | |
parent | 6f2ce5c31708e5914d6d17d69b45f15a4429f8e3 (diff) |
loplugin:unusedmethods unused return value in sc
Change-Id: Ic0b4d7efb2679f735892806d66258af231cda3fe
Diffstat (limited to 'sc/source/ui/inc/validate.hxx')
-rw-r--r-- | sc/source/ui/inc/validate.hxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index d39b99b12bac..2ef7738323f2 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -49,25 +49,19 @@ public: typedef void (ScRefHandlerCaller::*PCOMMONHDLTYPE)(); typedef void (ScRefHandlerCaller::*PINPUTSTARTDLTYPE)( formula::RefEdit* pEdit, formula::RefButton* pButton ); - PFUNCSETREFHDLTYPE SetSetRefHdl( PFUNCSETREFHDLTYPE pNewHdl ) + void SetSetRefHdl( PFUNCSETREFHDLTYPE pNewHdl ) { - PFUNCSETREFHDLTYPE pOldHdl = m_pSetReferenceHdl; m_pSetReferenceHdl = pNewHdl; - return pOldHdl; } - PCOMMONHDLTYPE SetSetActHdl( PCOMMONHDLTYPE pNewHdl ) + void SetSetActHdl( PCOMMONHDLTYPE pNewHdl ) { - PCOMMONHDLTYPE pOldHdl = m_pSetActiveHdl; m_pSetActiveHdl = pNewHdl; - return pOldHdl; } - ScRefHandlerCaller *SetHandler( ScRefHandlerCaller *pNewHandler ) + void SetHandler( ScRefHandlerCaller *pNewHandler ) { - ScRefHandlerCaller *pOldHandler = m_pHandler; m_pHandler = pNewHandler; - return pOldHandler; } void SetRefInputStartPreHdl( PINPUTSTARTDLTYPE pNewHdl ){ m_pRefInputStartPreHdl = pNewHdl; } void SetRefInputDonePostHdl( void (ScRefHandlerCaller::*pNewHdl)() ){ m_pRefInputDonePostHdl = pNewHdl; } |