diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 3 | ||||
-rw-r--r-- | basctl/source/dlged/managelang.cxx | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 11beb68d110a..a5b0057803ed 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -1352,7 +1352,7 @@ void SbTreeListBox::AddEntry( std::unique_ptr<Entry>&& rUserData) { OUString sId(OUString::number(reinterpret_cast<sal_uInt64>(rUserData.release()))); - m_xControl->insert(pParent, -1, &rText, &sId, nullptr, nullptr, &rImage, bChildrenOnDemand); + m_xControl->insert(pParent, -1, &rText, &sId, nullptr, nullptr, &rImage, bChildrenOnDemand, nullptr); } void SbTreeListBox::SetEntryBitmaps(const weld::TreeIter& rIter, const OUString& rImage) diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index dec80d59d2c0..2a5b729c2822 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -808,8 +808,7 @@ void LibPage::InsertLib() ( xDlgLibContImport.is() && xDlgLibContImport->hasByName( aLibName ) && xDlgLibContImport->isLibraryLink( aLibName ) ) ) ) { weld::TreeView& rView = xLibDlg->GetLibBox(); - rView.insert(nullptr, -1, nullptr, nullptr, nullptr, - nullptr, nullptr, false); + rView.append(); const int nRow = rView.n_children() - 1; rView.set_toggle(nRow, true, 0); rView.set_text(nRow, aLibName, 1); diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx index 6813a96904c4..85797a55f869 100644 --- a/basctl/source/dlged/managelang.cxx +++ b/basctl/source/dlged/managelang.cxx @@ -272,8 +272,7 @@ void SetDefaultLanguageDialog::FillLanguageBox() for (sal_Int32 j = 0; j < nCountLang; ++j) { LanguageType eLang = m_xLanguageCB->get_id(j); - m_xCheckLangLB->insert(nullptr, -1, nullptr, nullptr, nullptr, - nullptr, nullptr, false); + m_xCheckLangLB->append(); const int nRow = m_xCheckLangLB->n_children() - 1; m_xCheckLangLB->set_toggle(nRow, false, 0); m_xCheckLangLB->set_text(nRow, m_xLanguageCB->get_text(j), 1); |