diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-17 11:41:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-17 14:42:57 +0100 |
commit | 0574f8241acbe07c87a014fb0c8f12d2f3a8b785 (patch) | |
tree | 9d61005b8a2b802543f634c690dec5c5780db0b6 /sfx2 | |
parent | 43a63b725208bfa378355011ea56cb936afa4411 (diff) |
Remove unnecessary OUString aInternal
Change-Id: I37112fdb971a60012a4cb4f1aebfbb79dda3f92e
Reviewed-on: https://gerrit.libreoffice.org/65258
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 4a8929af5a31..7a3eb65a1867 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -721,10 +721,9 @@ static bool impl_showOnlineHelp( const OUString& rURL ) static bool impl_showOfflineHelp( const OUString& rURL ) { const OUString& aBaseInstallPath = getHelpRootURL(); - OUString const aInternal( "vnd.sun.star.help://" ); 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("?","&"); aHelpLink += aTarget; |