diff options
Diffstat (limited to 'sw/source/ui/frmdlg/frmpage.cxx')
-rw-r--r-- | sw/source/ui/frmdlg/frmpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx index 82882cbc45d2..3c8657f07063 100644 --- a/sw/source/ui/frmdlg/frmpage.cxx +++ b/sw/source/ui/frmdlg/frmpage.cxx @@ -2763,7 +2763,7 @@ void SwFrameURLPage::Reset( const SfxItemSet *rSet ) if ( SfxItemState::SET == rSet->GetItemState( SID_DOCFRAME, true, &pItem)) { std::unique_ptr<TargetList> pList(new TargetList); - static_cast<const SfxFrameItem*>(pItem)->GetFrame()->GetTargetList(*pList); + SfxFrame::GetDefaultTargetList(*pList); if( !pList->empty() ) { size_t nCount = pList->size(); |