summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-16 11:06:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-16 12:27:59 +0100
commit03feda2465c7a18d6bac5781510ace2eabc40379 (patch)
treed0d61ef816822984e75bbba06675b281f8f1b910 /sfx2
parent1b0a9a99709522cb4a7d189824ec5359ea430ff5 (diff)
loplugin:unusedfields
Change-Id: I021cd75685a091c1afd3ff3c144def6f9a784bee Reviewed-on: https://gerrit.libreoffice.org/82972 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-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 0938b7caf762..8346fbeab06a 100644
--- a/sfx2/source/inet/inettbc.cxx
+++ b/sfx2/source/inet/inettbc.cxx
@@ -82,8 +82,7 @@ void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName ) const
INetURLObject aObj( rName );
if ( aObj.GetProtocol() == INetProtocol::NotValid )
{
- OUString aBaseURL = GetURLBox()->GetBaseURL();
- aName = SvtURLBox::ParseSmart( rName, aBaseURL );
+ aName = SvtURLBox::ParseSmart( rName, "" );
}
else
aName = rName;