summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-17 11:41:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-17 17:29:19 +0100
commit7d8eec83535dbae5b392fae52fd5c41bf5afea06 (patch)
tree70b417a0e4462baa45d0d74d1c00f8b0a6ec6a34 /sfx2
parenteb881a4c35d6d34b7824a41c9af6a5f3ef29b3b7 (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> (cherry picked from commit 0574f8241acbe07c87a014fb0c8f12d2f3a8b785) Reviewed-on: https://gerrit.libreoffice.org/65268
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx3
1 files changed, 1 insertions, 2 deletions
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;