diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-07 16:28:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-27 08:20:43 +0000 |
commit | 644487a1152c7586a7f20c7f372572a71d8494d5 (patch) | |
tree | 683cdbd755ec1660e75f930e5be4cd6867e3e734 /sc/source/ui/miscdlgs | |
parent | 1b4dff2c371d31c99f34324c3f6f31888bdc34d7 (diff) |
loplugin:unusedmethods
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861
Reviewed-on: https://gerrit.libreoffice.org/19231
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 385537a20f26..dfce667e6912 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -941,39 +941,6 @@ void ScRefHandler::ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* m_aHelper.ToggleCollapsed( pEdit, pButton ); } -void ScRefHandler::preNotify(const NotifyEvent& rNEvt, const bool bBindRef) -{ - if( bBindRef || m_bInRefMode ) - { - MouseNotifyEvent nSwitch=rNEvt.GetType(); - if(nSwitch==MouseNotifyEvent::GETFOCUS) - { - pActiveWin=rNEvt.GetWindow(); - } - } -} - -void ScRefHandler::stateChanged(const StateChangedType nStateChange, const bool bBindRef) -{ - if( !bBindRef && !m_bInRefMode ) return; - - if(nStateChange == StateChangedType::Visible) - { - if(m_rWindow->IsVisible()) - { - ScFormulaReferenceHelper::enableInput( false ); - ScFormulaReferenceHelper::EnableSpreadsheets(); - ScFormulaReferenceHelper::SetDispatcherLock( true ); - aIdle.Start(); - } - else - { - ScFormulaReferenceHelper::enableInput( true ); - ScFormulaReferenceHelper::SetDispatcherLock( false ); /*//! here and in DoClose ?*/ - } - } -} - IMPL_LINK_NOARG_TYPED(ScRefHandler, UpdateFocusHdl, Idle *, void) { if (pActiveWin) |