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 | c50b19180f474cc13dcf07a1efe7a5393c575efc (patch) | |
tree | abc0f89e8eaea8f9389563ae3736a0a882c843e4 /sfx2 | |
parent | 3cb9494b42a5be33d4bc210cc7481aeafd851656 (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 03702e6c8c..6462f1dde2 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 ); |