diff options
Diffstat (limited to 'sfx2/source/doc/objxtor.cxx')
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 45fd2e8271e7..0a198b61c271 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/util/XModifyBroadcaster.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/frame/XTitle.hpp> +#include <osl/file.hxx> #include <osl/mutex.hxx> #include <rtl/instance.hxx> #include <vcl/msgbox.hxx> @@ -66,7 +67,6 @@ #include <svl/urihelper.hxx> #include <unotools/pathoptions.hxx> #include <svl/sharecontrolfile.hxx> -#include <unotools/localfilehelper.hxx> #include <unotools/ucbhelper.hxx> #include <svtools/asynclink.hxx> #include <tools/diagnose_ex.h> @@ -398,7 +398,7 @@ SfxObjectShell::~SfxObjectShell() if ( !pImp->aTempName.isEmpty() ) { OUString aTmp; - ::utl::LocalFileHelper::ConvertPhysicalNameToURL( pImp->aTempName, aTmp ); + osl::FileBase::getFileURLFromSystemPath( pImp->aTempName, aTmp ); ::utl::UCBContentHelper::Kill( aTmp ); } |