diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-18 12:11:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-19 22:18:10 +0100 |
commit | 12a59a1f2948274c6a845ab4a0963bab8aff45b8 (patch) | |
tree | d7877f8e78aad8b53df428773947228e88a151f3 /basctl | |
parent | e9bc6efbb8f1c1d012e60f3fc9877d311a48ee03 (diff) |
weld ChineseDictionaryDialog
and ChineseTranslationDialog
Change-Id: I3b754c405c8379fc0c5fa94437cc0464a1dea999
Reviewed-on: https://gerrit.libreoffice.org/67991
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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); |