From 236714e86c1c517d84d38395efabaf6e3793d196 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 19 Aug 2015 10:43:19 +0200 Subject: Clean up remaining utl::LocalFileHelper::Convert... together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7 --- framework/source/services/substitutepathvars.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'framework/source/services') 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 #include #include -#include #include #include @@ -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() ) -- cgit