Kaydet (Commit) 0574f824 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unnecessary OUString aInternal

Change-Id: I37112fdb971a60012a4cb4f1aebfbb79dda3f92e
Reviewed-on: https://gerrit.libreoffice.org/65258
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 43a63b72
...@@ -721,10 +721,9 @@ static bool impl_showOnlineHelp( const OUString& rURL ) ...@@ -721,10 +721,9 @@ static bool impl_showOnlineHelp( const OUString& rURL )
static bool impl_showOfflineHelp( const OUString& rURL ) static bool impl_showOfflineHelp( const OUString& rURL )
{ {
const OUString& aBaseInstallPath = getHelpRootURL(); const OUString& aBaseInstallPath = getHelpRootURL();
OUString const aInternal( "vnd.sun.star.help://" );
OUString aHelpLink( aBaseInstallPath + "/index.html?" ); OUString aHelpLink( aBaseInstallPath + "/index.html?" );
OUString aTarget = "Target=" + rURL.copy(aInternal.getLength()); OUString aTarget = "Target=" + rURL.copy(RTL_CONSTASCII_LENGTH("vnd.sun.star.help://"));
aTarget = aTarget.replaceAll("%2F","/").replaceAll("?","&"); aTarget = aTarget.replaceAll("%2F","/").replaceAll("?","&");
aHelpLink += aTarget; aHelpLink += aTarget;
......
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