diff options
author | Rüdiger Timm <rt@openoffice.org> | 2009-01-29 10:50:15 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2009-01-29 10:50:15 +0000 |
commit | 426ab2c0e8f6e3fe2b766f74f6b8da873d860260 (patch) | |
tree | 2d750aa6fa2bdebb474372db7adcbce37e03abf8 /sfx2 | |
parent | 25dad84813feb405e709c31b180361dc1b7cfaaa (diff) |
CWS-TOOLING: integrate CWS metropatch01_DEV300
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/menu/mnuitem.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx index f2dfae067456..762468dea7da 100644 --- a/sfx2/source/menu/mnuitem.cxx +++ b/sfx2/source/menu/mnuitem.cxx @@ -265,6 +265,12 @@ void SfxMenuControl::StateChanged GetId() >= SID_OBJECTMENU0 && GetId() < SID_OBJECTMENU_LAST; // enabled/disabled-Flag pauschal korrigieren + +#ifdef UNIX + if (nSID == SID_PASTE) + pOwnMenu->EnableItem( GetId(), TRUE ); + else +#endif pOwnMenu->EnableItem( GetId(), bIsObjMenu ? 0 != pOwnMenu->GetSVMenu()->GetPopupMenu( GetId() ) : eState != SFX_ITEM_DISABLED ); |