From 1ef15ad4b5d43ee338909b818b00a468bbc44234 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 26 Jun 2019 17:15:20 +0100 Subject: allow welded drag and drop into editview MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia03083b0507ef969300316034cde9bbcf5963b9a Reviewed-on: https://gerrit.libreoffice.org/74746 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/editeng/editview.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/editeng/editview.hxx') diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 32799f1ebdf2..15ac187cdfa5 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -62,6 +62,9 @@ namespace sun { namespace star { namespace datatransfer { class XTransferable; + namespace dnd { + class XDropTarget; + } } namespace linguistic2 { class XSpellChecker1; @@ -101,6 +104,12 @@ public: // return the OutputDevice that the EditView will draw to virtual OutputDevice& EditViewOutputDevice() const = 0; + + // implemented if drag and drop support is wanted + virtual css::uno::Reference GetDropTarget() const + { + return nullptr; + } }; class EDITENG_DLLPUBLIC EditView final -- cgit