wikihelp: Fix linking to pages, fdo#35671.

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
This commit is contained in:
Jan Holesovsky 2011-05-17 15:03:38 +02:00 committed by Fridrich Štrba
parent acfb65d44f
commit d778ce0dcf

View file

@ -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();