Resolves fdo#84608: Right-click customize crashes LibO
Regression from 26f2da07b1
Change-Id: I382c4686b5fff0c04bdb36f1859c8ea5b2424772
This commit is contained in:
@@ -775,7 +775,7 @@ void Menu::SetPopupMenu( sal_uInt16 nItemId, PopupMenu* pMenu )
|
||||
return;
|
||||
|
||||
// same menu, nothing to do
|
||||
if ( dynamic_cast<PopupMenu*>(pData->pSubMenu) == pMenu )
|
||||
if ( static_cast<PopupMenu*>(pData->pSubMenu) == pMenu )
|
||||
return;
|
||||
|
||||
// data exchange
|
||||
|
Reference in New Issue
Block a user