diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 10:43:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 10:48:42 +0200 |
commit | 236714e86c1c517d84d38395efabaf6e3793d196 (patch) | |
tree | 32c17d639ef464fba371d7d3a02afac18af8bfdb /sfx2/source/doc/new.cxx | |
parent | e87c08babed9e3ac34908771fc95cab5386f01a2 (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 'sfx2/source/doc/new.cxx')
-rw-r--r-- | sfx2/source/doc/new.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index 29561b0ef791..ac71fd744cbf 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -18,6 +18,7 @@ */ #include <comphelper/string.hxx> +#include <osl/file.hxx> #include <sfx2/new.hxx> #include <vcl/builderfactory.hxx> #include <vcl/layout.hxx> @@ -29,7 +30,6 @@ #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> #include <tools/urlobj.hxx> -#include <unotools/localfilehelper.hxx> #include "doc.hrc" #include <sfx2/app.hxx> @@ -196,7 +196,7 @@ IMPL_LINK_NOARG_TYPED(SfxNewFileDialog_Impl, Update, Idle*, void) // temp. fix until Templates are managed by UCB compatible service // does NOT work with locally cached components ! OUString aTemp; - utl::LocalFileHelper::ConvertPhysicalNameToURL( aFileName, aTemp ); + osl::FileBase::getFileURLFromSystemPath( aFileName, aTemp ); aFileName = aTemp; } |