diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 20:38:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 20:59:44 +0100 |
commit | 28f3464a571a23a2c16bd0980e9021b95d011511 (patch) | |
tree | e7bd251056f867b09971b1443575bcfa3c428583 /sd/source | |
parent | 75a8b1cf84ac718aa1c8d671cd27b0b10307f50a (diff) |
ConvertSystemPathToURL->getFileURLFromSystemPath
Change-Id: I1c60c60f9b5318626f42e33091920a4404fb6d1c
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <editeng/numitem.hxx> - +#include <osl/file.hxx> #include <unotools/ucbstreamhelper.hxx> #include <vcl/wrkwin.hxx> #include <svl/urihelper.hxx> @@ -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 ); |