diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-11-29 18:17:06 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-11-29 18:17:06 +0100 |
commit | eb14a00d4538da480cd57c1f9a37dad383308e69 (patch) | |
tree | 489e52ad0b2ddaa723a6dae42a1741ef72e60d2f /sfx2/source/appl/sfxhelp.cxx | |
parent | bc2bb7b46606ccf2cfdc74d8cad87f9480053b50 (diff) |
wikihelp: Small update from the libreoffice-3-3 branch.
Cherry-picked to avoid conflicts later.
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 6 |
1 files 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 { |