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 /svx/source/mnuctrls | |
parent | 25dad84813feb405e709c31b180361dc1b7cfaaa (diff) |
CWS-TOOLING: integrate CWS metropatch01_DEV300
Diffstat (limited to 'svx/source/mnuctrls')
-rw-r--r-- | svx/source/mnuctrls/clipboardctl.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/svx/source/mnuctrls/clipboardctl.cxx b/svx/source/mnuctrls/clipboardctl.cxx index 3cd538e4c079..82dc919bb729 100644 --- a/svx/source/mnuctrls/clipboardctl.cxx +++ b/svx/source/mnuctrls/clipboardctl.cxx @@ -143,6 +143,16 @@ void SvxClipBoardControl::StateChanged( USHORT nSID, SfxItemState eState, const GetToolBox().SetItemBits( GetId(), GetToolBox().GetItemBits( GetId() ) & ~TIB_DROPDOWN ); GetToolBox().Invalidate( GetToolBox().GetItemRect( GetId() ) ); } + #ifdef UNIX + // #b6673979# enable some slots hardly, because UNIX clipboard does not notify all changes + // Can be removed if follow up task will be fixed directly within applications. + else + if ( SID_PASTE == nSID ) + { + bDisabled = false; + GetToolBox().EnableItem( GetId(), true ); + } + #endif else { // enable the item as a whole |