summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-15 10:51:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-15 16:45:36 +0200
commitaeb330a350ec4eb78dd51147517a0bf3b2670614 (patch)
treeb773c1cd8590cc6e34be4afa7b6d3ab85cd0b246 /sw/source/ui/fmtui
parent1774599479c1b89ac048183c95e1ba9076dfe609 (diff)
weld SwParagraphNumTabPage
Change-Id: I6d95b5235d43dabc17515f3ac31063093c68d959 Reviewed-on: https://gerrit.libreoffice.org/55860 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index fb8f7b4c18ed..35f2267b8b63 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -411,7 +411,7 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
static_cast<SwParagraphNumTabPage&>(rPage).DisableOutline() ;
static_cast<SwParagraphNumTabPage&>(rPage).DisableNumbering();
}//<-end
- ListBox & rBox = static_cast<SwParagraphNumTabPage&>(rPage).GetStyleBox();
+ weld::ComboBoxText& rBox = static_cast<SwParagraphNumTabPage&>(rPage).GetStyleBox();
SfxStyleSheetBasePool* pPool = pWrtShell->GetView().GetDocShell()->GetStyleSheetPool();
pPool->SetSearchMask(SfxStyleFamily::Pseudo);
const SfxStyleSheetBase* pBase = pPool->First();
@@ -422,7 +422,7 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
pBase = pPool->Next();
}
for(std::set<OUString>::const_iterator it = aNames.begin(); it != aNames.end(); ++it)
- rBox.InsertEntry(*it);
+ rBox.append_text(*it);
}
else if (nId == m_nAlignId)
{