diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 14:50:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 16:40:09 +0100 |
commit | bdc3053067175eea4d30d5ca6d304366174c9316 (patch) | |
tree | 2c1b8d858561c500d02432591f3ac028dea26bd4 /cui | |
parent | c89207eaa4ea1b55be46ea083cce174a373035b2 (diff) |
rBaseURL argument now unused
Change-Id: I02cacfeaf26788ed024fa9753af132f0d5822e6f
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hldocntp.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/hldoctp.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx index 332d45fc64af..d67771ac2e72 100644 --- a/cui/source/dialogs/hldocntp.cxx +++ b/cui/source/dialogs/hldocntp.cxx @@ -407,7 +407,7 @@ IMPL_LINK_NOARG(SvxHyperlinkNewDocTp, ClickNewHdl_Impl) OUString aStrURL; OUString aTempStrURL( m_pCbbPath->GetText() ); - utl::LocalFileHelper::ConvertSystemPathToURL( aTempStrURL, m_pCbbPath->GetBaseURL(), aStrURL ); + utl::LocalFileHelper::ConvertSystemPathToURL( aTempStrURL, aStrURL ); OUString aStrPath = aStrURL; bool bZeroPath = aStrPath.isEmpty(); diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx index 2ff9946506b5..4e710cce634e 100644 --- a/cui/source/dialogs/hldoctp.cxx +++ b/cui/source/dialogs/hldoctp.cxx @@ -118,7 +118,6 @@ OUString SvxHyperlinkDocTp::GetCurrentURL () // get data from dialog-controls OUString aStrURL; OUString aStrPath ( m_pCbbPath->GetText() ); - const OUString aBaseURL ( m_pCbbPath->GetBaseURL() ); OUString aStrMark( m_pEdTarget->GetText() ); if ( aStrPath != aEmptyStr ) @@ -127,7 +126,7 @@ OUString SvxHyperlinkDocTp::GetCurrentURL () if ( aURL.GetProtocol() != INetProtocol::NotValid ) // maybe the path is already a valid aStrURL = aStrPath; // hyperlink, then we can use this path directly else - utl::LocalFileHelper::ConvertSystemPathToURL( aStrPath, aBaseURL, aStrURL ); + utl::LocalFileHelper::ConvertSystemPathToURL( aStrPath, aStrURL ); //#105788# always create a URL even if it is not valid if( aStrURL == aEmptyStr ) |