diff options
author | Andras Timar <atimar@suse.com> | 2013-05-07 21:01:30 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-05-09 12:35:46 +0200 |
commit | 0bf858a7221f3d42c46d778d1b0bcccf3eedab4e (patch) | |
tree | 6f4b1da480d8fcce1f21c1c3fdb0e516fab4a97d /sfx2/source/appl | |
parent | a4ca67596c3896db2dbcfafc20f9b845b852636d (diff) |
fdo#64211 replace "%2F" to "/" in online (wiki) help URLs
It is not possible to create wiki pages with URLs that have %2F in
them. Help URLs contain %2F, when invoked from dialogs that are
based on .ui files, it seems this is the new HID syntax.
For example for Zoom dialog LibreOffice used to call
http://help.libreoffice.org/simpress/cui%2Fui%2Fzoomdialog%2Fzoomsb
and it did not work. Now it calls
http://help.libreoffice.org/simpress/cui/ui/zoomdialog/zoomsb
and it works.
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
Conflicts:
sfx2/source/appl/sfxhelp.cxx
Change-Id: I163cf8ec3b69f31eadbbd9085d2180839fe91e07
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index b2be3e3f78de..4e7837c4bba9 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -660,6 +660,7 @@ static bool impl_showOnlineHelp( const String& rURL ) OUString aHelpLink( "http://help.libreoffice.org/" ); aHelpLink += rURL.Copy( aInternal.Len() ); + aHelpLink = aHelpLink.replaceAll("%2F","/"); try { Reference< XSystemShellExecute > xSystemShell( |