sfx2/source/appl/sfxhelp.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 7d8eec83535dbae5b392fae52fd5c41bf5afea06 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Dec 17 11:41:27 2018 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Dec 17 17:29:19 2018 +0100 Remove unnecessary OUString aInternal Change-Id: I37112fdb971a60012a4cb4f1aebfbb79dda3f92e Reviewed-on: https://gerrit.libreoffice.org/65258 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> (cherry picked from commit 0574f8241acbe07c87a014fb0c8f12d2f3a8b785) Reviewed-on: https://gerrit.libreoffice.org/65268 diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 3651e9425c96..42748f9cc52d 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -735,10 +735,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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits