summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshc.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-11 21:19:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-12 14:53:02 +0200
commitdd5fbb68ebaa8b8be8b6a4a97a8aedbf22d5714f (patch)
treedcd20914bf8056798a21864414b16030e136d846 /sc/source/ui/view/tabvwshc.cxx
parent3df141b2084d3abc1587ef24d2b371b779bb3d50 (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.cxx11
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)