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 /cui/source/dialogs/hldoctp.cxx | |
parent | bdc3053067175eea4d30d5ca6d304366174c9316 (diff) |
ConvertURLToSystemPath->getSystemPathFromFileURL
Change-Id: I7dc0e1b596f80b8f0870aed1722f711bb287ec0a
Diffstat (limited to 'cui/source/dialogs/hldoctp.cxx')
-rw-r--r-- | cui/source/dialogs/hldoctp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx index 4e710cce634e..a7087f3efa75 100644 --- a/cui/source/dialogs/hldoctp.cxx +++ b/cui/source/dialogs/hldoctp.cxx @@ -18,6 +18,7 @@ */ #include "cuihyperdlg.hxx" +#include <osl/file.hxx> #include <unotools/localfilehelper.hxx> #include <sfx2/filedlghelper.hxx> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" @@ -210,7 +211,7 @@ IMPL_LINK_NOARG(SvxHyperlinkDocTp, ClickFileopenHdl_Impl) OUString aURL( aDlg.GetPath() ); OUString aPath; - utl::LocalFileHelper::ConvertURLToSystemPath( aURL, aPath ); + osl::FileBase::getSystemPathFromFileURL(aURL, aPath); m_pCbbPath->SetBaseURL( aURL ); m_pCbbPath->SetText( aPath ); |