[Libreoffice-commits] core.git: include/vcl
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 20 07:45:46 UTC 2020
include/vcl/customweld.hxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 9a59220e82fa87d70db2735bed502846d0f9df05
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Oct 19 20:00:55 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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)
{
More information about the Libreoffice-commits
mailing list