summaryrefslogtreecommitdiffstats
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.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx
index 3e30516b678d..bdf33691b0c3 100644
--- a/sw/source/ui/chrdlg/chardlg.cxx
+++ b/sw/source/ui/chrdlg/chardlg.cxx
@@ -174,8 +174,7 @@ SwCharURLPage::SwCharURLPage(vcl::Window* pParent, const SfxItemSet& rCoreSet)
m_pNotVisitedLB->SaveValue();
std::unique_ptr<TargetList> pList( new TargetList );
- const SfxFrame& rFrame = pView->GetViewFrame()->GetFrame();
- rFrame.GetTargetList(*pList);
+ SfxFrame::GetDefaultTargetList(*pList);
if ( !pList->empty() )
{
size_t nCount = pList->size();