summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/chardlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/chardlg.cxx')
-rw-r--r--sw/source/ui/chrdlg/chardlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx
index 4b4eeb094982..f81bfa7c13b3 100644
--- a/sw/source/ui/chrdlg/chardlg.cxx
+++ b/sw/source/ui/chrdlg/chardlg.cxx
@@ -177,14 +177,14 @@ SwCharURLPage::SwCharURLPage(weld::Container* pPage, weld::DialogController* pCo
m_xNotVisitedLB->set_active_id(OUString::number(RES_POOLCHR_INET_NORMAL));
m_xNotVisitedLB->save_value();
- std::unique_ptr<TargetList> pList( new TargetList );
- SfxFrame::GetDefaultTargetList(*pList);
+ TargetList aList;
+ SfxFrame::GetDefaultTargetList(aList);
m_xTargetFrameLB->freeze();
- size_t nCount = pList->size();
+ size_t nCount = aList.size();
for (size_t i = 0; i < nCount; ++i)
{
- m_xTargetFrameLB->append_text(pList->at(i));
+ m_xTargetFrameLB->append_text(aList.at(i));
}
m_xTargetFrameLB->thaw();
}