summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-12-30 12:43:15 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-12-30 12:44:09 +0100
commit86b528bb05a8b3a389ebdf6ce09d9963019ec058 (patch)
treee762f6be96747046567f8b0f957684d3ce3c7f1d /vcl
parentc3fc5c9c9b17cef63fa7c77a39a0971c27a004f9 (diff)
Checking is useless here
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx2
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();