include/vcl/customweld.hxx | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 9a59220e82fa87d70db2735bed502846d0f9df05 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Oct 19 20:00:55 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Oct 20 09:45:02 2020 +0200
add GetDropTarget to CustomWidgetController Change-Id: I85f2ed6439eb94048ae1fe42448b1906fd060eb9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104542 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/include/vcl/customweld.hxx b/include/vcl/customweld.hxx index 3f4b5d13ed97..b8c5490d0a15 100644 --- a/include/vcl/customweld.hxx +++ b/include/vcl/customweld.hxx @@ -99,6 +99,10 @@ public: } virtual int GetSurroundingText(OUString& /*rSurrounding*/) { return -1; } virtual bool DeleteSurroundingText(const Selection& /*rRange*/) { return false; } + css::uno::Reference<css::datatransfer::dnd::XDropTarget> GetDropTarget() + { + return m_pDrawingArea->get_drop_target(); + } void SetDragDataTransferrable(rtl::Reference<TransferDataContainer>& rTransferrable, sal_uInt8 eDNDConstants) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits