diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-12-30 12:43:15 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-12-30 12:44:09 +0100 |
commit | 86b528bb05a8b3a389ebdf6ce09d9963019ec058 (patch) | |
tree | e762f6be96747046567f8b0f957684d3ce3c7f1d /vcl | |
parent | c3fc5c9c9b17cef63fa7c77a39a0971c27a004f9 (diff) |
Checking is useless here
Diffstat (limited to 'vcl')
-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 c44f90605a34..baa6bdb6105f 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -5404,7 +5404,7 @@ void MenuBarWindow::KillActivePopup() pActivePopup->Deactivate(); pActivePopup->bInCallback = sal_False; // check for pActivePopup, if stopped by deactivate... - if ( pActivePopup && pActivePopup->ImplGetWindow() ) + if ( pActivePopup->ImplGetWindow() ) { pActivePopup->ImplGetFloatingWindow()->StopExecute(); pActivePopup->ImplGetFloatingWindow()->doShutdown(); |