[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - svx/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 19 10:20:21 UTC 2018


 svx/source/form/navigatortree.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 303043243d603c7fe70d6f23a8a6e11762fa28f4
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Dec 19 09:25:59 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Dec 19 11:19:54 2018 +0100

    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 at collabora.co.uk>
    (cherry picked from commit 7d8bce646d53d77405b45a50fc6e889ccd0c10e9)
    Reviewed-on: https://gerrit.libreoffice.org/65399
    Reviewed-by: Xisco FaulĂ­ <xiscofauli at libreoffice.org>
    Tested-by: Xisco FaulĂ­ <xiscofauli at libreoffice.org>

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


More information about the Libreoffice-commits mailing list