diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/helpdispatch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/helpdispatch.cxx b/sfx2/source/appl/helpdispatch.cxx index 5ce49523ee0c..ee6b5d207078 100644 --- a/sfx2/source/appl/helpdispatch.cxx +++ b/sfx2/source/appl/helpdispatch.cxx @@ -64,10 +64,10 @@ void SAL_CALL HelpDispatch_Impl::dispatch( const PropertyValue* pEnd = pBegin + aArgs.getLength(); for ( ; pBegin != pEnd; ++pBegin ) { - if ( 0 == ( *pBegin ).Name.compareToAscii( "HelpKeyword" ) ) + if ( pBegin->Name.equalsAscii( "HelpKeyword" ) ) { OUString sHelpKeyword; - if ( ( ( *pBegin ).Value >>= sHelpKeyword ) && !sHelpKeyword.isEmpty() ) + if ( ( pBegin->Value >>= sHelpKeyword ) && !sHelpKeyword.isEmpty() ) { sKeyword = sHelpKeyword; bHasKeyword = !sKeyword.isEmpty(); |