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 --- sd/source/filter/ppt/pptin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 44c366892b34..735ac0f3ae2c 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -18,7 +18,7 @@ */ #include - +#include #include #include #include @@ -2066,7 +2066,7 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv OUString aBookmarkURL( pInfo->GetBookmark() ); INetURLObject aURL( pPtr->aTarget ); if( INetProtocol::NotValid == aURL.GetProtocol() ) - utl::LocalFileHelper::ConvertSystemPathToURL( pPtr->aTarget, aBookmarkURL ); + osl::FileBase::getFileURLFromSystemPath( pPtr->aTarget, aBookmarkURL ); if( aBookmarkURL.isEmpty() ) aBookmarkURL = URIHelper::SmartRel2Abs( INetURLObject(aBaseURL), pPtr->aTarget, URIHelper::GetMaybeFileHdl(), true ); pInfo->SetBookmark( aBookmarkURL ); -- cgit