Related: tdf#145722 need to clone userdata if we copy a module/dialog
commit5d2f16b0ae25949a0f466c30357fd591fa7276d9
authorCaolán McNamara <caolanm@redhat.com>
Tue, 17 May 2022 14:56:17 +0000 (17 15:56 +0100)
committerMichael Stahl <michael.stahl@allotropia.de>
Wed, 18 May 2022 09:03:03 +0000 (18 11:03 +0200)
treeec7752f7be03b43249e36f438940c9897cf45acd
parent425c1e3f31b49049ad8a6985d4c11e325b7e4750
Related: tdf#145722 need to clone userdata if we copy a module/dialog

otherwise we double-free it, so do what TreeListBox::CloneEntry used to
before it was dropped as unused at

commit 4a72d6f474b105cdaa7a570b1f199475cc64bb14
Date:   Tue Feb 11 13:50:50 2020 +0000

    drop newly unused TreeListBox

Change-Id: I127511ef4f752cf9a2da26a541e6f1add2a9cf9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134439
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
basctl/source/basicide/moduldlg.cxx