diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-16 16:38:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-21 09:57:58 +0100 |
commit | fa8c85fa90e9565a357b247a69f930098d11ff84 (patch) | |
tree | d14cb6db4faa840ae23b435bbdcd3ff5987c3f44 /vcl/source/window/layout.cxx | |
parent | 9394ad31fb9c325001c97702feda317d61f1cbbb (diff) |
weld gallery panel
Change-Id: I4aebb3f90e9943044d106a507972c39434988f03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87003
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r-- | vcl/source/window/layout.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index be8313c12f00..ce8b3379dbc1 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -2694,4 +2694,16 @@ bool isLayoutEnabled(const vcl::Window *pWindow) return pChild && isContainerWindow(*pChild) && !pChild->GetWindow(GetWindowType::Next); } +void VclDrawingArea::StartDrag(sal_Int8, const Point&) +{ + if (m_aStartDragHdl.Call(this)) + return; + + rtl::Reference<TransferDataContainer> xContainer = m_xTransferHelper; + if (!m_xTransferHelper.is()) + return; + + xContainer->StartDrag(this, m_nDragAction); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |