diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-18 15:56:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-18 18:17:19 +0200 |
commit | 64aa52d85fccaa9154c4fcb1686cc8a047ae4e2a (patch) | |
tree | 33b890e79bf1277787c6625b3ac55607b3407ee8 /sfx2/source/inet | |
parent | b138878a934be25183f4d2b3da437cc0035eb8b6 (diff) |
remove dead code
since
commit 5be98eba1fddb559194066c511b53412009c2d5d
Date: Thu Mar 27 10:29:38 2003 +0000
MWS_SRX644: migrate branch mws_srx644 -> HEAD
found by loplugin:unusedvarsglobal
Change-Id: I0184e9157caaa7d7d9d58ff20fb8d9293ab0d604
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100925
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/inet')
-rw-r--r-- | sfx2/source/inet/inettbc.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 17dd5de0b61c..822374bc1cc3 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -120,7 +120,6 @@ SvtURLBox* SfxURLToolBoxControl_Impl::GetURLBox() const void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName ) const { OUString aName; - OUString aFilter; INetURLObject aObj( rName ); if ( aObj.GetProtocol() == INetProtocol::NotValid ) @@ -151,15 +150,6 @@ void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName ) const aArgs[1].Name = "FileName"; aArgs[1].Value <<= aName; - if ( !aFilter.isEmpty() ) - { - aArgs.realloc( 4 ); - aArgs[2].Name = "FilterOptions"; - aArgs[2].Value <<= OUString(); - aArgs[3].Name = "FilterName"; - aArgs[3].Value <<= aFilter; - } - SfxURLToolBoxControl_Impl::ExecuteInfo* pExecuteInfo = new SfxURLToolBoxControl_Impl::ExecuteInfo; pExecuteInfo->xDispatch = xDispatch; pExecuteInfo->aTargetURL = aTargetURL; |