sfx2/source/appl/sfxhelp.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
New commits: commit c2999602e2463cb11dbce1f71f0bcb304494a2f4 Author: Olivier Hallot <olivier.hal...@libreoffice.org> Date: Mon Sep 25 15:06:50 2017 -0300 Simplify call to external helponline add indentation chnage helponline.l.org -> help.l.org for good. Change-Id: Ie52a0f0a716c56da1a9553a805e25ebcabcb1490 Reviewed-on: https://gerrit.libreoffice.org/42764 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 7773c29b9a50..cc06ba7550e0 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -54,6 +54,7 @@ #include <vcl/layout.hxx> #include <svtools/ehdl.hxx> #include <svtools/sfxecode.hxx> +#include "openuriexternally.hxx" #include "newhelp.hxx" #include <sfx2/objsh.hxx> @@ -530,16 +531,13 @@ static bool impl_showOnlineHelp( const OUString& rURL ) if ( rURL.getLength() <= aInternal.getLength() || !rURL.startsWith(aInternal) ) return false; - OUString aHelpLink( "http://helponline.libreoffice.org/help.html?" ); + OUString aHelpLink( "https://help.libreoffice.org/help.html?" ); aHelpLink += rURL.copy( aInternal.getLength() ); aHelpLink = aHelpLink.replaceAll("%2F","/"); try { - Reference< XSystemShellExecute > xSystemShell( - SystemShellExecute::create(::comphelper::getProcessComponentContext()) ); - - xSystemShell->execute( aHelpLink, OUString(), SystemShellExecuteFlags::URIS_ONLY ); + sfx2::openUriExternally(aHelpLink, false); return true; } catch (const Exception&) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits