summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/sfxhelp.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-07-25 09:12:26 +0000
committerOliver Bolte <obo@openoffice.org>2008-07-25 09:12:26 +0000
commitdf03d7da9d9606cd6bbc9bf4a994ef47ce5fa9c6 (patch)
tree94bb871f1ccc393d9421cb166efe946c69f2e4ac /sfx2/source/appl/sfxhelp.cxx
parent131da47d34c1e3afb93f7c08733fb2692dbe072c (diff)
INTEGRATION: CWS os118 (1.81.6); FILE MERGED
2008/07/17 10:00:38 pb 1.81.6.1: fix: #i91715# ignore '.HelpId:' strings
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index a235f2cdafa5..c0101ff97b6f 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sfxhelp.cxx,v $
- * $Revision: 1.81 $
+ * $Revision: 1.82 $
*
* This file is part of OpenOffice.org.
*
@@ -793,7 +793,12 @@ BOOL SfxHelp::Start( const String& rURL, const Window* pWindow )
else
{
aHelpURL = CreateHelpURL_Impl( 0, GetHelpModuleName_Impl( ) );
- sKeyword = ::rtl::OUString( rURL );
+
+ // pb i91715: strings begin with ".HelpId:" are not words of the basic ide
+ // they are helpid-strings used by the testtool -> so we ignore them
+ static const String sHelpIdScheme( DEFINE_CONST_OUSTRING(".HelpId:") );
+ if ( rURL.Search( sHelpIdScheme ) != 0 )
+ sKeyword = ::rtl::OUString( rURL );
}
}