Kaydet (Commit) 87b991ca authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#705031 Unchecked dynamic_cast

Change-Id: I492db48ee0b3098dddad638736f3d2e062dc6ceb
üst ddff02a6
......@@ -712,7 +712,7 @@ bool SwView::ExecSpellPopup(const Point& rPt)
OUString aCommand = ((PopupMenu*)pMenu)->GetItemCommand(nId);
if (aCommand.isEmpty() )
{
if(!ExecuteMenuCommand( *dynamic_cast<PopupMenu*>(pMenu), *GetViewFrame(), nId ))
if(!ExecuteMenuCommand(dynamic_cast<PopupMenu&>(*pMenu), *GetViewFrame(), nId ))
pPopup->Execute(nId);
}
else
......
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