summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-19 09:25:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-19 11:19:54 +0100
commit303043243d603c7fe70d6f23a8a6e11762fa28f4 (patch)
tree5d5bc6ae08f062f6f15a95eca19e2de6ccdf0d64 /svx
parentd51452fc4f15f956dde32cb2cc3e118473f4f23a (diff)
tdf#122127 Crash in FORM EDIT using drag drop to move control in dataform
regression from commit 2629aac31142449312f77c5843ea209cc810acb4 Date: Tue Oct 23 09:47:10 2018 +0200 clang-tidy performance-unnecessary-copy-init in svx Change-Id: I4210c328145d062d8b72f09dcff3280e11c6bc36 Reviewed-on: https://gerrit.libreoffice.org/65394 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 7d8bce646d53d77405b45a50fc6e889ccd0c10e9) Reviewed-on: https://gerrit.libreoffice.org/65399 Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org> Tested-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/navigatortree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 2a44e7d9953a..df5188783619 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1009,7 +1009,7 @@ namespace svxform
DBG_ASSERT( DND_ACTION_COPY != _nAction, "NavigatorTree::implExecuteDataTransfer: somebody changed the logics!" );
// list of dragged entries
- const ListBoxEntrySet& aDropped = _rData.selected();
+ const ListBoxEntrySet aDropped = _rData.selected();
DBG_ASSERT(!aDropped.empty(), "NavigatorTree::implExecuteDataTransfer: no entries!");
// shell and model