summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshc.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-10 11:36:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-11 09:54:55 +0200
commit5a816c4241c98b97d464007f25657b946eb29005 (patch)
tree1b9ce2567bff96a35278426a1950482e9152eef5 /sc/source/ui/view/tabvwshc.cxx
parente4c4288a4334567c586bc40ece9b3dcf69ccc499 (diff)
weld ScRegressionDialog
Change-Id: I26cbf2b5ed7482daa8d02adb206b6a783524985a Reviewed-on: https://gerrit.libreoffice.org/70517 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.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 95d10e13e33c..b8f378323b9e 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -330,12 +330,6 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
}
break;
- case SID_REGRESSION_DIALOG:
- {
- pResult = VclPtr<ScRegressionDialog>::Create( pB, pCW, pParent, &GetViewData() );
- }
- break;
-
case SID_TTEST_DIALOG:
{
pResult = VclPtr<ScTTestDialog>::Create( pB, pCW, pParent, &GetViewData() );
@@ -532,6 +526,11 @@ std::unique_ptr<SfxModelessDialogController> ScTabViewShell::CreateRefDialogCont
xResult.reset(new ScMovingAverageDialog(pB, pCW, pParent, &GetViewData()));
}
break;
+ case SID_REGRESSION_DIALOG:
+ {
+ xResult.reset(new ScRegressionDialog(pB, pCW, pParent, &GetViewData()));
+ }
+ break;
}
if (xResult)