summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-19 10:43:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-19 10:48:42 +0200
commit236714e86c1c517d84d38395efabaf6e3793d196 (patch)
tree32c17d639ef464fba371d7d3a02afac18af8bfdb /lingucomponent
parente87c08babed9e3ac34908771fc95cab5386f01a2 (diff)
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
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/languageguessing/guesslang.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx
index 2b2da0e0e544..488ce106eb26 100644
--- a/lingucomponent/source/languageguessing/guesslang.cxx
+++ b/lingucomponent/source/languageguessing/guesslang.cxx
@@ -20,6 +20,7 @@
#include <iostream>
#include <boost/noncopyable.hpp>
+#include <osl/file.hxx>
#include <tools/debug.hxx>
#include <sal/config.h>
@@ -34,7 +35,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/linguistic2/XLanguageGuessing.hpp>
#include <unotools/pathoptions.hxx>
-#include <unotools/localfilehelper.hxx>
#include <osl/thread.h>
#include <sal/macros.h>
@@ -124,7 +124,7 @@ void LangGuess_Impl::EnsureInitialized()
// set default fingerprint path to where those get installed
OUString aPhysPath;
OUString aURL( SvtPathOptions().GetFingerprintPath() );
- utl::LocalFileHelper::ConvertURLToPhysicalName( aURL, aPhysPath );
+ osl::FileBase::getSystemPathFromFileURL( aURL, aPhysPath );
#ifdef WNT
aPhysPath += "\\";
#else