[Libreoffice-commits] .: vcl/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Fri Dec 30 03:44:28 PST 2011
vcl/source/window/menu.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 86b528bb05a8b3a389ebdf6ce09d9963019ec058
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Dec 30 12:43:15 2011 +0100
Checking is useless here
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index c44f906..baa6bdb 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();
More information about the Libreoffice-commits
mailing list