summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastype2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-27 19:30:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-27 21:38:35 +0200
commita83963b463df5c8737fba43d9fff7e1236d2670b (patch)
tree848721e7d3bab0f26e6226b1f5c267845fff3e67 /basctl/source/basicide/bastype2.cxx
parent85dc12a99b455126e8deae5637bf63c48ce8938e (diff)
Resolves: tdf#124984 organize basic macro new added module doesn't show up
Change-Id: I422131ab203eba62ed5cf6fb2e19e23325b43f6e Reviewed-on: https://gerrit.libreoffice.org/71433 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl/source/basicide/bastype2.cxx')
-rw-r--r--basctl/source/basicide/bastype2.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx
index 2ed3e6d81804..2141278861b2 100644
--- a/basctl/source/basicide/bastype2.cxx
+++ b/basctl/source/basicide/bastype2.cxx
@@ -1351,10 +1351,11 @@ void SbTreeListBox::AddEntry(
const OUString& rImage,
const weld::TreeIter* pParent,
bool bChildrenOnDemand,
- std::unique_ptr<Entry>&& rUserData)
+ std::unique_ptr<Entry>&& rUserData,
+ weld::TreeIter* pRet)
{
OUString sId(OUString::number(reinterpret_cast<sal_uInt64>(rUserData.release())));
- m_xControl->insert(pParent, -1, &rText, &sId, nullptr, nullptr, &rImage, bChildrenOnDemand, nullptr);
+ m_xControl->insert(pParent, -1, &rText, &sId, nullptr, nullptr, &rImage, bChildrenOnDemand, pRet);
}
void SbTreeListBox::SetEntryBitmaps(const weld::TreeIter& rIter, const OUString& rImage)