diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 17:11:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 17:24:22 +0100 |
commit | 58d68a1bc9146334376206ae7ba8b1a6594a1040 (patch) | |
tree | 269d465b387964054dce91316b1d800dcc22e0e5 /svtools/source | |
parent | bdc3053067175eea4d30d5ca6d304366174c9316 (diff) |
ConvertURLToSystemPath->getSystemPathFromFileURL
Change-Id: I7dc0e1b596f80b8f0870aed1722f711bb287ec0a
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/inettbc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 4bf756548eb3..8d0a96f7ba8d 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -42,6 +42,7 @@ #include <comphelper/string.hxx> #include <rtl/instance.hxx> #include <salhelper/thread.hxx> +#include <osl/file.hxx> #include <osl/mutex.hxx> #include <vcl/builderfactory.hxx> #include <vcl/svapp.hxx> @@ -988,7 +989,7 @@ void SvtURLBox::UpdatePicklistForSmartProtocol_Impl() if ( bFound ) { OUString aFile; - if (::utl::LocalFileHelper::ConvertURLToSystemPath(aURL,aFile)) + if (osl::FileBase::getSystemPathFromFileURL(aURL, aFile) == osl::FileBase::E_None) InsertEntry(aFile); else InsertEntry(aURL); |