summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-22 11:22:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-22 15:49:34 +0100
commitbc9478602d81dcd0a3bbddd8658c1f0d54d10a7a (patch)
tree7052bd8aa167b17b03eb560610731ebc4d4ffced /svx/source
parent41372210fbbc497eb6353c998fca0b5502b331d9 (diff)
tdf#139590 Drag and drop doesn't work in SdrObjEditView
Change-Id: Id8deeee0c1a919f330bc6623f708453279a214c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109785 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdedxv.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 5106702a4502..a2fd9a692472 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -655,6 +655,13 @@ void SdrObjEditView::EditViewSelectionChange()
OutputDevice& SdrObjEditView::EditViewOutputDevice() const { return *pTextEditWin; }
+css::uno::Reference<css::datatransfer::dnd::XDropTarget> SdrObjEditView::GetDropTarget()
+{
+ if (!pTextEditWin)
+ return nullptr;
+ return pTextEditWin->GetDropTarget();
+}
+
void SdrObjEditView::EditViewInputContext(const InputContext& rInputContext)
{
if (!pTextEditWin)