diff options
Diffstat (limited to 'reportdesign/source')
-rw-r--r-- | reportdesign/source/ui/dlg/AddField.cxx | 3 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/AddField.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx index 341430cde531..895ea2b9ed77 100644 --- a/reportdesign/source/ui/dlg/AddField.cxx +++ b/reportdesign/source/ui/dlg/AddField.cxx @@ -55,8 +55,9 @@ using namespace lang; using namespace container; using namespace ::svx; -IMPL_LINK_NOARG(OAddFieldWindow, DragBeginHdl, weld::TreeView&, bool) +IMPL_LINK(OAddFieldWindow, DragBeginHdl, bool&, rUnsetDragIcon, bool) { + rUnsetDragIcon = false; if (m_xListBox->get_selected_index() == -1) { // no drag without a field diff --git a/reportdesign/source/ui/inc/AddField.hxx b/reportdesign/source/ui/inc/AddField.hxx index a15c8091f13b..b348fcd32916 100644 --- a/reportdesign/source/ui/inc/AddField.hxx +++ b/reportdesign/source/ui/inc/AddField.hxx @@ -68,7 +68,7 @@ class OAddFieldWindow : public weld::GenericDialogController DECL_LINK( OnDoubleClickHdl, weld::TreeView&, bool ); DECL_LINK( OnSelectHdl, weld::TreeView&, void ); - DECL_LINK( DragBeginHdl, weld::TreeView&, bool ); + DECL_LINK( DragBeginHdl, bool&, bool ); DECL_LINK( OnSortAction, const OString&, void ); DECL_LINK( FocusChangeHdl, weld::Widget&, void ); |