diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index e2e9d12bace1..7a86ef6cdcc8 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -25,7 +25,6 @@ #include <cppuhelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <unotools/configitem.hxx> -#include <unotools/localfilehelper.hxx> #include <unotools/configmgr.hxx> #include <unotools/bootstrap.hxx> @@ -794,7 +793,7 @@ OUString SubstitutePathVariables::ConvertOSLtoUCBURL( const OUString& aOSLCompli OUString aTemp; osl::FileBase::getSystemPathFromFileURL( aOSLCompliantURL, aTemp ); - utl::LocalFileHelper::ConvertPhysicalNameToURL( aTemp, aResult ); + osl::FileBase::getFileURLFromSystemPath( aTemp, aResult ); // Not all OSL URL's can be mapped to UCB URL's! if ( aResult.isEmpty() ) |