diff options
-rw-r--r-- | extensions/source/update/ui/updatecheckui.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 6cfdfa08e73d..1c8a80b21ced 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -4,9 +4,9 @@ * * $RCSfile: updatecheckui.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: obo $ $Date: 2008-02-25 15:35:53 $ + * last change: $Author: kz $ $Date: 2008-04-04 10:57:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -632,8 +632,7 @@ void UpdateCheckUI::RemoveBubbleWindow( bool bRemoveIcon ) if ( bRemoveIcon ) { try { - if ( mpIconSysWin && mpIconMBar && - ( mpIconSysWin->GetMenuBar() == mpIconMBar ) ) + if ( mpIconMBar && ( mnIconID != 0 ) ) { mpIconMBar->RemoveMenuBarButton( mnIconID ); mpIconMBar = NULL; |