diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-10-03 22:49:36 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-10-03 22:49:36 +0200 |
commit | 24fb87501ef9d5aa715d572de7eb5efe49a0d9c3 (patch) | |
tree | fb4c8e893b747de645dcf61cfd05782ed1603161 | |
parent | 58cd14d597fbd02a3419ab829d677af13403b726 (diff) |
Resolves fdo#84608: Right-click customize crashes LibO
Regression from 26f2da07b1c6074e519d28557a3d1d5518ff6cb4
Change-Id: I382c4686b5fff0c04bdb36f1859c8ea5b2424772
-rw-r--r-- | vcl/source/window/menu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 0a96f9fd73ca..582fdcb63800 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -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 |