summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hldoctp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-18 20:38:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-18 20:59:44 +0100
commit28f3464a571a23a2c16bd0980e9021b95d011511 (patch)
treee7bd251056f867b09971b1443575bcfa3c428583 /cui/source/dialogs/hldoctp.cxx
parent75a8b1cf84ac718aa1c8d671cd27b0b10307f50a (diff)
ConvertSystemPathToURL->getFileURLFromSystemPath
Change-Id: I1c60c60f9b5318626f42e33091920a4404fb6d1c
Diffstat (limited to 'cui/source/dialogs/hldoctp.cxx')
-rw-r--r--cui/source/dialogs/hldoctp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx
index a7087f3efa75..2943637a2a30 100644
--- a/cui/source/dialogs/hldoctp.cxx
+++ b/cui/source/dialogs/hldoctp.cxx
@@ -127,7 +127,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, aStrURL );
+ osl::FileBase::getFileURLFromSystemPath( aStrPath, aStrURL );
//#105788# always create a URL even if it is not valid
if( aStrURL == aEmptyStr )