sfx2/source/appl/sfxhelp.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 34f275fe4e19877fbb12d483d7edb5adaef49bc2 Author: Andras Timar <ati...@suse.com> Date: Tue May 7 21:01:30 2013 +0200
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. Change-Id: I163cf8ec3b69f31eadbbd9085d2180839fe91e07 diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index fad7046..0d35063 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -649,6 +649,7 @@ static bool impl_showOnlineHelp( const OUString& rURL ) OUString aHelpLink( "http://help.libreoffice.org/" ); aHelpLink += rURL.copy( aInternal.getLength() ); + aHelpLink = aHelpLink.replaceAll("%2F","/"); try { Reference< XSystemShellExecute > xSystemShell( _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits