From 1a7b48c1341a95d4dfd8e1f91b850b0178af0c1b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Jul 2017 10:56:23 +0200 Subject: tdf#108829 Cannot set a numbering style to a paragraph style regression from commit f05d0d05829dd51cb9d8071ac97cc219779ee40a loplugin:unusedfields in sw part1 Change-Id: Ic7049c5288b2ec875936be0784611f5c7e6a4788 Reviewed-on: https://gerrit.libreoffice.org/39557 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/ui/fmtui/tmpdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index a8b1eab8de77..a81d0d0c72fb 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -187,7 +187,7 @@ SwTemplateDlg::SwTemplateDlg(vcl::Window* pParent, OSL_ENSURE(pFact->GetTabPageRangesFunc(RID_SVXPAGE_TABULATOR), "GetTabPageRangesFunc fail!"); AddTabPage("tabs", pFact->GetTabPageCreatorFunc(RID_SVXPAGE_TABULATOR), pFact->GetTabPageRangesFunc(RID_SVXPAGE_TABULATOR) ); - AddTabPage("outline", SwParagraphNumTabPage::Create, SwParagraphNumTabPage::GetRanges); + m_nOutlineId = AddTabPage("outline", SwParagraphNumTabPage::Create, SwParagraphNumTabPage::GetRanges); AddTabPage("dropcaps", SwDropCapsPage::Create, SwDropCapsPage::GetRanges ); // add Area and Transparence TabPages -- cgit