diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-10 20:37:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-11 11:54:03 +0100 |
commit | 9b3dca4fef7cca1848e287ddb0f7af68808b6909 (patch) | |
tree | 6f8d55ebc9782df03ee4ff55ace409a8128b9a39 /sc/source/ui/dbgui | |
parent | 3e8574c959492b9d3b0129ba090be8c597cd2f13 (diff) |
CreateScSubTotalDlg always called with a non-null pArgSet
Change-Id: I8a13a66ab7ce55a48896a921dc3b91594abefbc4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109068
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r-- | sc/source/ui/dbgui/subtdlg.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/subtdlg.cxx b/sc/source/ui/dbgui/subtdlg.cxx index 36c692b2f37f..924716a6ff10 100644 --- a/sc/source/ui/dbgui/subtdlg.cxx +++ b/sc/source/ui/dbgui/subtdlg.cxx @@ -23,11 +23,10 @@ #include <subtdlg.hxx> #include <scui_def.hxx> -ScSubTotalDlg::ScSubTotalDlg(weld::Window* pParent, const SfxItemSet* pArgSet) - : SfxTabDialogController(pParent, "modules/scalc/ui/subtotaldialog.ui", "SubTotalDialog", pArgSet) +ScSubTotalDlg::ScSubTotalDlg(weld::Window* pParent, const SfxItemSet& rArgSet) + : SfxTabDialogController(pParent, "modules/scalc/ui/subtotaldialog.ui", "SubTotalDialog", &rArgSet) , m_xBtnRemove(m_xBuilder->weld_button("remove")) { - AddTabPage("1stgroup", ScTpSubTotalGroup1::Create, nullptr); AddTabPage("2ndgroup", ScTpSubTotalGroup2::Create, nullptr); AddTabPage("3rdgroup", ScTpSubTotalGroup3::Create, nullptr); |