diff options
Diffstat (limited to 'svtools/source/graphic/grfmgr.cxx')
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index e39ee4cbdb23..64c4ee7f247d 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -22,11 +22,11 @@ #include <algorithm> #include <officecfg/Office/Common.hxx> +#include <osl/file.hxx> #include <tools/vcompat.hxx> #include <tools/fract.hxx> #include <tools/helpers.hxx> #include <unotools/ucbstreamhelper.hxx> -#include <unotools/localfilehelper.hxx> #include <unotools/tempfile.hxx> #include <unotools/configmgr.hxx> #include <vcl/svapp.hxx> @@ -237,7 +237,7 @@ void GraphicObject::ImplAutoSwapIn() { OUString aURLStr; - if( ::utl::LocalFileHelper::ConvertPhysicalNameToURL( GetLink(), aURLStr ) ) + if( osl::FileBase::getFileURLFromSystemPath( GetLink(), aURLStr ) == osl::FileBase::E_None ) { boost::scoped_ptr<SvStream> pIStm(::utl::UcbStreamHelper::CreateStream( aURLStr, StreamMode::READ )); |