diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2017-03-17 20:25:57 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2017-03-19 17:12:24 +0100 |
commit | 3563fef9566cdf2828605bcfcb75bd2c9db46c13 (patch) | |
tree | bac35261efa4e5cd889b9f08a7d6d4c2b68fd2d0 /sfx2 | |
parent | 03feb950308bcbb26a7b1c52fa0ce820be9e6472 (diff) |
SfxViewFrame::ExecReload_Impl - remove written-only variable aURL
Its only user was commented-out by commit 6c1be80980cbf02ecaf07996b1c2be5777f59124
(2004) and then removed by commit 40fe03745fc75609350cf8115134eb07f04eefa7 (2010)
Change-Id: I821a97275b79230e9e389a9b57c82110fa16aa8e
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 8 |
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 ); } |