From eb14a00d4538da480cd57c1f9a37dad383308e69 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Mon, 29 Nov 2010 18:17:06 +0100 Subject: wikihelp: Small update from the libreoffice-3-3 branch. Cherry-picked to avoid conflicts later. --- sfx2/source/appl/sfxhelp.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 835738be56..78a050c891 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -747,11 +747,11 @@ SfxHelpWindow_Impl* impl_createHelp(Reference< XFrame >& rHelpTask , static bool impl_showOnlineHelp( const String& rURL ) { - String aInternal( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.help:/" ) ); - if ( rURL.Len() < aInternal.Len() || rURL.Copy( 0, aInternal.Len() ) != aInternal ) + String aInternal( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.help://" ) ); + if ( rURL.Len() <= aInternal.Len() || rURL.Copy( 0, aInternal.Len() ) != aInternal ) return false; - rtl::OUString aHelpLink( RTL_CONSTASCII_USTRINGPARAM( "http://help.libreoffice.org" ) ); + rtl::OUString aHelpLink( RTL_CONSTASCII_USTRINGPARAM( "http://help.libreoffice.org/" ) ); aHelpLink += rURL.Copy( aInternal.Len() ); try { -- cgit v1.2.3