INTEGRATION: CWS notes3 (1.21.64); FILE MERGED

2008/03/28 15:11:16 mba 1.21.64.2: warning fixed
2008/03/17 14:27:13 mba 1.21.64.1: #i85834#: allow to change PopupMenu before execution
This commit is contained in:
Rüdiger Timm 2008-04-11 13:09:56 +00:00
parent 911aa15234
commit 47f7db9725

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: mnuitem.cxx,v $
* $Revision: 1.22 $
* $Revision: 1.23 $
*
* This file is part of OpenOffice.org.
*
@ -278,8 +278,10 @@ void SfxMenuControl::StateChanged
// SetItemText flackert in MenuBar insbes. unter OS/2 (Bug #20658)
if ( // !bIsObjMenu && nicht wegen "Format/Datenbank"
pOwnMenu->GetSVMenu()->GetItemText( GetId() ) != GetTitle() )
pOwnMenu->SetItemText( GetId(), GetTitle() );
{
DBG_WARNING("Title of menu item changed - please check if this needs correction!");
// pOwnMenu->SetItemText( GetId(), GetTitle() );
}
return;
}