diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-01 15:46:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-07 13:08:13 +0200 |
commit | feecbabd01870ed83a04baa6cb13d7a8af832ac3 (patch) | |
tree | b3eac2bed9c5936287a04badea90a508be57f623 /sc/source/ui/view/tabvwshc.cxx | |
parent | d25fef637897bdf9e680700451e9207ac6aa7cbe (diff) |
weld FormulaDialog
drop xFocusWin hack, I don't see what gain it gives
Change-Id: I31952b5440797e6209ed1de6b546f1e4c0238d08
Reviewed-on: https://gerrit.libreoffice.org/71675
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/view/tabvwshc.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshc.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx index a5a04d91b63b..3ff4ff52d4e4 100644 --- a/sc/source/ui/view/tabvwshc.cxx +++ b/sc/source/ui/view/tabvwshc.cxx @@ -142,14 +142,6 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog( switch( nSlotId ) { - case SID_OPENDLG_FUNCTION: - { - // dialog checks, what is in the cell - - pResult = VclPtr<ScFormulaDlg>::Create( pB, pCW, pParent, &GetViewData(),ScGlobal::GetStarCalcFunctionMgr() ); - } - break; - case WID_CONDFRMT_REF: { bool bFound = false; @@ -475,6 +467,12 @@ std::unique_ptr<SfxModelessDialogController> ScTabViewShell::CreateRefDialogCont break; } + case SID_OPENDLG_FUNCTION: + { + // dialog checks, what is in the cell + xResult.reset(new ScFormulaDlg(pB, pCW, pParent, &GetViewData(),ScGlobal::GetStarCalcFunctionMgr())); + break; + } } if (xResult) |