[Libreoffice-commits] core.git: sw/source

Noel Grandin noel.grandin at collabora.co.uk
Wed Jul 5 12:38:22 UTC 2017


 sw/source/ui/fmtui/tmpdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1a7b48c1341a95d4dfd8e1f91b850b0178af0c1b
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Jul 5 10:56:23 2017 +0200

    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 at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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


More information about the Libreoffice-commits mailing list