summaryrefslogtreecommitdiff
path: root/extensions/source/update/ui/updatecheckui.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-04-04 09:57:57 +0000
committerKurt Zenker <kz@openoffice.org>2008-04-04 09:57:57 +0000
commit99dd4f699efac48cdee3aa336ebd615065271028 (patch)
tree4abf78408cfe313bd3f98a3fab3951c5b6508cf7 /extensions/source/update/ui/updatecheckui.cxx
parent1d3820db9b19472ebb754a8b993f1f2b14e8226d (diff)
INTEGRATION: CWS dv03 (1.16.6); FILE MERGED
2008/04/01 09:19:30 dv 1.16.6.1: #i85765# Changed RemoveBubbleWindow to always remove icon
Diffstat (limited to 'extensions/source/update/ui/updatecheckui.cxx')
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index 6a59554bb..a1c2ef868 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;