Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3872

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/72/3872/1

fdo#55582 calc part

Since the actual Patch for fdo#55582 hangs on the writer part,
I commit that bloody sc part NOW,
to appear as early as in 4.1.

Change-Id: I01ce4a7a7738304f47efc718c382a5b1dee68ea2
Signed-off-by: Lennard Wasserthal <wassert...@nefkom.net>
---
M sc/sdi/drawsh.sdi
M sc/source/ui/drawfunc/drawsh5.cxx
2 files changed, 3 insertions(+), 1 deletion(-)



diff --git a/sc/sdi/drawsh.sdi b/sc/sdi/drawsh.sdi
index 6c9ec0b..ff8cd35 100644
--- a/sc/sdi/drawsh.sdi
+++ b/sc/sdi/drawsh.sdi
@@ -142,6 +142,7 @@
     SID_DELETE_CONTENTS [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
     SID_CUT             [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
     SID_COPY            [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
+    SID_PASTE           [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
     SID_SELECTALL       [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
     SID_OBJECT_ROTATE   [ ExecMethod = ExecDrawFunc; StateMethod = GetState; 
Export = FALSE; ]
     SID_OBJECT_MIRROR   [ ExecMethod = ExecDrawFunc; StateMethod = GetState; 
Export = FALSE; ]
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx 
b/sc/source/ui/drawfunc/drawsh5.cxx
index 153ea16..8a82fda 100644
--- a/sc/source/ui/drawfunc/drawsh5.cxx
+++ b/sc/source/ui/drawfunc/drawsh5.cxx
@@ -23,6 +23,7 @@
 #include <sfx2/request.hxx>
 #include <sfx2/bindings.hxx>
 #include <tools/urlobj.hxx>
+#include <cliputil.hxx>
 #include <svx/svxdlg.hxx>
 #include <svx/dialogs.hrc>
 #include <svx/fmglob.hxx>
@@ -357,7 +358,7 @@
             break;
 
         case SID_PASTE:
-            OSL_FAIL( "SdrView::PasteClipboard not supported anymore" );
+            ScClipUtil::PasteFromClipboard ( GetViewData(), 
GetViewData()->GetViewShell(), true );
             break;
 
         case SID_SELECTALL:

-- 
To view, visit https://gerrit.libreoffice.org/3872
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I01ce4a7a7738304f47efc718c382a5b1dee68ea2
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Lennard Wasserthal <wassert...@nefkom.net>

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to