[Libreoffice-commits] .: sfx2/source

Jan Holesovsky kendy at kemper.freedesktop.org
Tue May 17 06:05:38 PDT 2011


 sfx2/source/appl/sfxhelp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e605aecf7fb4f7b67787940ef0627972e9660cbc
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Tue May 17 15:03:38 2011 +0200

    wikihelp: Fix linking to pages, fdo#35671.

diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index da8b027..9a5c5f5 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -788,7 +788,7 @@ sal_Bool SfxHelp::Start_Impl( const String& rURL, const Window* pWindow, const S
             if ( rURL.Search( sHelpIdScheme ) != 0 )
                 sKeyword = ::rtl::OUString( rURL );
 
-            if ( pWindow && SfxContentHelper::IsHelpErrorDocument( aHelpURL ) )
+            if ( impl_hasHelpInstalled() && pWindow && SfxContentHelper::IsHelpErrorDocument( aHelpURL ) )
             {
                 // no help found -> try with parent help id.
                 Window* pParent = pWindow->GetParent();


More information about the Libreoffice-commits mailing list