Kaydet (Commit) dcc05d40 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

this assert is too strong

Change-Id: I130996a78695b38eb200a2b22a68e0aca575e3af
üst b5f9c235
...@@ -2007,9 +2007,7 @@ OUString Menu::ImplGetHelpText( sal_uInt16 nItemId ) const ...@@ -2007,9 +2007,7 @@ OUString Menu::ImplGetHelpText( sal_uInt16 nItemId ) const
{ {
MenuItemData* pData = pItemList->GetData( nItemId ); MenuItemData* pData = pItemList->GetData( nItemId );
assert ( pData ); if ( pData && pData->aHelpText.isEmpty() &&
if ( pData->aHelpText.isEmpty() &&
(( !pData->aHelpId.isEmpty() ) || ( !pData->aCommandStr.isEmpty() ))) (( !pData->aHelpId.isEmpty() ) || ( !pData->aCommandStr.isEmpty() )))
{ {
if ( pData->aHelpText.isEmpty() && if ( pData->aHelpText.isEmpty() &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment