summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-05 10:56:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-05 14:37:55 +0200
commit1a7b48c1341a95d4dfd8e1f91b850b0178af0c1b (patch)
tree8ace5a6bea8dfc40ce19d531b00e803d2ce096a2
parent262daf10fad29bb015abed57e772395fbd4cb93e (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx2
1 files changed, 1 insertions, 1 deletions
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