summaryrefslogtreecommitdiff
path: root/sfx2/source/inet
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:21 +0200
commita38eb6862868c18296b26d582658a831b622088a (patch)
tree928e98b833c4c699c439925664742f3df9cd8298 /sfx2/source/inet
parent8d6db960d8f3a1eba5a5bcd865429cf4d5df401c (diff)
loplugin:oncevar: empty strings: sfx2
Change-Id: I76a8b7e9501951a0166dd63890949bd7d2781398
Diffstat (limited to 'sfx2/source/inet')
-rw-r--r--sfx2/source/inet/inettbc.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx
index 978209c6e941..da0820aa208d 100644
--- a/sfx2/source/inet/inettbc.cxx
+++ b/sfx2/source/inet/inettbc.cxx
@@ -78,7 +78,6 @@ void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName ) const
{
OUString aName;
OUString aFilter;
- OUString aOptions;
INetURLObject aObj( rName );
if ( aObj.GetProtocol() == INetProtocol::NotValid )
@@ -112,7 +111,7 @@ void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName ) const
{
aArgs.realloc( 4 );
aArgs[2].Name = "FilterOptions";
- aArgs[2].Value <<= aOptions;
+ aArgs[2].Value <<= OUString();
aArgs[3].Name = "FilterName";
aArgs[3].Value <<= aFilter;
}