[Libreoffice-commits] .: framework/source
Noel Power
noelp at kemper.freedesktop.org
Thu Aug 16 09:50:24 PDT 2012
framework/source/uielement/menubarmanager.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 18a39e216fa66d915e44261111e87350ab4cc592
Author: Noel Power <noel.power at suse.com>
Date: Thu Aug 16 17:48:35 2012 +0100
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
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index d3ea1b1..26b1233 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -506,8 +506,7 @@ throw ( RuntimeException )
//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.
// Note: PasteSpecial is handled specifically by calc
- if ( pMenuItemHandler->aMenuItemURL == ".uno:Paste" ||
- ( m_aModuleIdentifier != "com.sun.star.sheet.SpreadsheetDocument" && pMenuItemHandler->aMenuItemURL == ".uno:PasteSpecial" )
+ if ( pMenuItemHandler->aMenuItemURL == ".uno:Paste"
|| pMenuItemHandler->aMenuItemURL == ".uno:PasteClipboard" ) // special for draw/impress
bEnabledItem = sal_True;
#endif
More information about the Libreoffice-commits
mailing list