summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r--sfx2/source/view/viewfrm.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index e413b86a5cdf..1ddcaf90e5dc 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -553,13 +553,6 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
{
SfxMedium *pMedium = xOldObj->GetMedium();
- // Remove Frameset before the FramesetView may disappear
- OUString aURL;
- if (pURLItem)
- aURL = pURLItem->GetValue();
- else
- aURL = pMedium->GetName();
-
bool bHandsOff =
( pMedium->GetURLObject().GetProtocol() == INetProtocol::File && !xOldObj->IsDocShared() );
@@ -628,7 +621,6 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
const SfxStringItem* pSalvageItem = SfxItemSet::GetItem<SfxStringItem>(pNewSet, SID_DOC_SALVAGE, false);
if( pSalvageItem )
{
- aURL = pSalvageItem->GetValue();
pNewSet->ClearItem( SID_DOC_SALVAGE );
}