summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-05-17 15:03:38 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-05-17 15:16:07 +0200
commitc3fe2bd7c0a48c717227188ce3787c32dda5689a (patch)
tree9e58ab1943685feb3aebea7cd4ea8a25a6beb651
parentc10a65e7d6d95443e699f328a44ee28faddedad6 (diff)
wikihelp: Fix linking to pages, fdo#35671.
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
-rw-r--r--sfx2/source/appl/sfxhelp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 9099e26949..7eb61945c8 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();