From 12a59a1f2948274c6a845ab4a0963bab8aff45b8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 18 Feb 2019 12:11:08 +0000 Subject: weld ChineseDictionaryDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and ChineseTranslationDialog Change-Id: I3b754c405c8379fc0c5fa94437cc0464a1dea999 Reviewed-on: https://gerrit.libreoffice.org/67991 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- basctl/source/basicide/moduldl2.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'basctl/source/basicide/moduldl2.cxx') 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); -- cgit v1.2.3