diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-11 21:19:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-04-12 14:53:02 +0200 |
commit | dd5fbb68ebaa8b8be8b6a4a97a8aedbf22d5714f (patch) | |
tree | dcd20914bf8056798a21864414b16030e136d846 /sc/source/ui/view/tabvwshc.cxx | |
parent | 3df141b2084d3abc1587ef24d2b371b779bb3d50 (diff) |
weld ScColRowNameRangesDlg
Change-Id: I976fb892f8ac1dedb0c2c3110dce17c1211de238
Reviewed-on: https://gerrit.libreoffice.org/70652
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 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx index 02177d27864e..71181450a3d0 100644 --- a/sc/source/ui/view/tabvwshc.cxx +++ b/sc/source/ui/view/tabvwshc.cxx @@ -144,12 +144,6 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog( switch( nSlotId ) { - case SID_DEFINE_COLROWNAMERANGES: - { - pResult = VclPtr<ScColRowNameRangesDlg>::Create( pB, pCW, pParent, &GetViewData() ); - } - break; - case SID_OPENDLG_CONSOLIDATE: { SfxItemSet aArgSet( GetPool(), @@ -491,7 +485,10 @@ std::unique_ptr<SfxModelessDialogController> ScTabViewShell::CreateRefDialogCont } case SID_OPENDLG_EDIT_PRINTAREA: xResult.reset(new ScPrintAreasDlg(pB, pCW, pParent)); - break; + break; + case SID_DEFINE_COLROWNAMERANGES: + xResult.reset(new ScColRowNameRangesDlg(pB, pCW, pParent, &GetViewData())); + break; } if (xResult) |