From 58d68a1bc9146334376206ae7ba8b1a6594a1040 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 18 Aug 2015 17:11:09 +0100 Subject: ConvertURLToSystemPath->getSystemPathFromFileURL Change-Id: I7dc0e1b596f80b8f0870aed1722f711bb287ec0a --- uui/source/fltdlg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'uui') diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx index 24e5476f2588..9e34f82906ef 100644 --- a/uui/source/fltdlg.cxx +++ b/uui/source/fltdlg.cxx @@ -23,10 +23,10 @@ #include #include -#include #include #include +#include #include #include @@ -200,7 +200,8 @@ OUString FilterDialog::impl_buildUIFileName( const OUString& sName ) { OUString sShortName( sName ); - if( ::utl::LocalFileHelper::ConvertURLToSystemPath( sName, sShortName ) ) + if (osl::FileBase::getSystemPathFromFileURL(sName, sShortName) == osl::FileBase::E_None) + { // it's a system file ... build short name by using osl functionality } -- cgit