From 28f3464a571a23a2c16bd0980e9021b95d011511 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 18 Aug 2015 20:38:42 +0100 Subject: ConvertSystemPathToURL->getFileURLFromSystemPath Change-Id: I1c60c60f9b5318626f42e33091920a4404fb6d1c --- cui/source/dialogs/hldoctp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/dialogs/hldoctp.cxx') 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 ) -- cgit