diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-30 10:57:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-30 11:16:51 +0100 |
commit | 73f84ab139cb1d2564f9292fba08d69a0ab822c1 (patch) | |
tree | b971423c147277b5129ce0e6343d07ca4c6ed275 /vcl/osx/DragSource.cxx | |
parent | cd34f76d4ef7371892be4b8970a45d2d3e81e9db (diff) |
Resolves: tdf#100097 dbaccess self-dnd depends on getting its own transferable
on drop that it set on drag. It does some uno tunnel foo to drag the data it
needs back out of it in some grotesque fashion.
So we have to follow the same style of hackery as under MacOSX to detect
on drop that there is an active drag started by ourself and so use that
active drag's transferable as the source transferable for the drop, rather
that use the intermediate universal GtkDnDTransferable.
Change-Id: I3c3a94416db908603bde8f15dc5b1c9d726b8dbd
Diffstat (limited to 'vcl/osx/DragSource.cxx')
-rw-r--r-- | vcl/osx/DragSource.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx index c72b4bcaa2d0..d794d1fb808d 100644 --- a/vcl/osx/DragSource.cxx +++ b/vcl/osx/DragSource.cxx @@ -47,8 +47,8 @@ using namespace com::sun::star::awt; using namespace com::sun::star::lang; using namespace comphelper; -// For OOo internal D&D we provide the Transferable without NSDragPboard -// interference as a shortcut +// For LibreOffice internal D&D we provide the Transferable without NSDragPboard +// interference as a shortcut, see tdf#100097 for how dbaccess depends on this uno::Reference<XTransferable> DragSource::g_XTransferable; NSView* DragSource::g_DragSourceView = nil; bool DragSource::g_DropSuccessSet = false; |