Kaydet (Commit) a7485a5d authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Andras Timar

help: Let's make the help urls more standard, and use ?Target=...&... form.

Change-Id: If9b7f6e50e8e668b7349dae1935ce16965ef19b0
Reviewed-on: https://gerrit.libreoffice.org/58863Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst b0070319
......@@ -541,9 +541,9 @@ static bool impl_showOnlineHelp( const OUString& rURL )
OUString aHelpLink( "https://help.libreoffice.org/help.html?" );
aHelpLink += rURL.copy( aInternal.getLength() );
aHelpLink = aHelpLink.replaceAll("%2F","/");
OUString aTarget = "Target=" + rURL.copy(aInternal.getLength());
aTarget = aTarget.replaceAll("%2F", "/").replaceAll("?", "&");
aHelpLink += aTarget;
if (comphelper::LibreOfficeKit::isActive())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment