Kaydet (Commit) 18a39e21 authored tarafından Noel Power's avatar Noel Power

remove menubar post processing of SID_PASTESPECIAL state to always enabled

at least calc deals with paste-special correct, if other applications don't
let's fix 'em up one by one

Change-Id: I1beb04e227f2971ee8ef2ce9b7ebdabf566be086
üst ca166a7a
...@@ -506,8 +506,7 @@ throw ( RuntimeException ) ...@@ -506,8 +506,7 @@ throw ( RuntimeException )
//enable some slots hardly, because UNIX clipboard does not notify all changes //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. // Can be removed if follow up task will be fixed directly within applications.
// Note: PasteSpecial is handled specifically by calc // Note: PasteSpecial is handled specifically by calc
if ( pMenuItemHandler->aMenuItemURL == ".uno:Paste" || if ( pMenuItemHandler->aMenuItemURL == ".uno:Paste"
( m_aModuleIdentifier != "com.sun.star.sheet.SpreadsheetDocument" && pMenuItemHandler->aMenuItemURL == ".uno:PasteSpecial" )
|| pMenuItemHandler->aMenuItemURL == ".uno:PasteClipboard" ) // special for draw/impress || pMenuItemHandler->aMenuItemURL == ".uno:PasteClipboard" ) // special for draw/impress
bEnabledItem = sal_True; bEnabledItem = sal_True;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment