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 09:29:36 +0100
commit7d8bce646d53d77405b45a50fc6e889ccd0c10e9 (patch)
treeba5f23a06b00544af231f2e67f37c8b679b79f9a /svx
parent5d57ddc1853d5cf9f5af9ad73f3ec465aad6b4a6 (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>
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 bdf2a97b0aa4..ab967ceab0fd 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1000,7 +1000,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