vcl/source/window/menu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 24fb87501ef9d5aa715d572de7eb5efe49a0d9c3 Author: Julien Nabet <serval2...@yahoo.fr> Date: Fri Oct 3 22:49:36 2014 +0200 Resolves fdo#84608: Right-click customize crashes LibO Regression from 26f2da07b1c6074e519d28557a3d1d5518ff6cb4 Change-Id: I382c4686b5fff0c04bdb36f1859c8ea5b2424772 diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 0a96f9f..582fdcb 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits