summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/inet/inettbc.cxx10
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;