diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-08 11:14:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-11 20:31:04 +0200 |
commit | d56ee7339f1a2ca73167791a5b39b6da38b401d5 (patch) | |
tree | 72c5572c4a68b8c14b8c5cfc853c3be173caeb64 /sc/source/ui/formdlg | |
parent | d6a43b40736fef259402177cb50e6d1428112cfc (diff) |
remove unused RefEdit/RefButton
and rename WeldRefEdit/WeldRefButton back
Change-Id: I3aab8585d4ba1017cc755bf21e827522e7ee6980
Reviewed-on: https://gerrit.libreoffice.org/71957
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/formdlg')
-rw-r--r-- | sc/source/ui/formdlg/formula.cxx | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx index 780bd1d65985..3c412a95aa16 100644 --- a/sc/source/ui/formdlg/formula.cxx +++ b/sc/source/ui/formdlg/formula.cxx @@ -380,16 +380,8 @@ std::unique_ptr<formula::FormulaCompiler> ScFormulaDlg::createCompiler( formula: // virtual methods of ScAnyRefDlg: void ScFormulaDlg::RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton ) { - pEdit->SetSelection(Selection(0, SELECTION_MAX)); - ::std::pair<formula::RefButton*,formula::RefEdit*> aPair = RefInputStartBefore( pEdit, pButton ); - m_aHelper.RefInputStart( aPair.second, aPair.first); - RefInputStartAfter(); -} - -void ScFormulaDlg::RefInputStart( formula::WeldRefEdit* pEdit, formula::WeldRefButton* pButton ) -{ pEdit->SelectAll(); - ::std::pair<formula::WeldRefButton*,formula::WeldRefEdit*> aPair = RefInputStartBefore( pEdit, pButton ); + ::std::pair<formula::RefButton*,formula::RefEdit*> aPair = RefInputStartBefore( pEdit, pButton ); m_aHelper.RefInputStart( aPair.second, aPair.first); RefInputStartAfter(); } @@ -528,22 +520,17 @@ bool ScFormulaDlg::IsTableLocked( ) const // default: reference input can also be used to switch the table return false; } + void ScFormulaDlg::ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton) { m_aHelper.ToggleCollapsed(pEdit,pButton); } -void ScFormulaDlg::ToggleCollapsed( formula::WeldRefEdit* pEdit, formula::WeldRefButton* pButton) -{ - m_aHelper.ToggleCollapsed(pEdit,pButton); -} + void ScFormulaDlg::ReleaseFocus( formula::RefEdit* pEdit) { m_aHelper.ReleaseFocus(pEdit); } -void ScFormulaDlg::ReleaseFocus( formula::WeldRefEdit* pEdit) -{ - m_aHelper.ReleaseFocus(pEdit); -} + void ScFormulaDlg::dispatch(bool _bOK, bool _bMatrixChecked) { SfxBoolItem aRetItem( SID_DLG_RETOK, _bOK ); |