summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hldoctp.cxx
diff options
context:
space:
mode:
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 )