[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sfx2/source

Fridrich Strba fridrich at kemper.freedesktop.org
Tue May 17 06:16:29 PDT 2011


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

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

    wikihelp: Fix linking to pages, fdo#35671.
    
    Signed-off-by: Fridrich Å trba <fridrich.strba at bluewin.ch>

diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 9099e26..7eb6194 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -797,7 +797,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