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 /sc/source | |
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 'sc/source')
-rw-r--r-- | sc/source/ui/dbgui/dpgroupdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dbgui/pvfundlg.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/protectiondlg.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/solveroptions.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/namedlg/namemgrtable.cxx | 2 |
5 files changed, 5 insertions, 8 deletions
diff --git a/sc/source/ui/dbgui/dpgroupdlg.cxx b/sc/source/ui/dbgui/dpgroupdlg.cxx index a7ba75b12eb7..9355d4e28b16 100644 --- a/sc/source/ui/dbgui/dpgroupdlg.cxx +++ b/sc/source/ui/dbgui/dpgroupdlg.cxx @@ -223,7 +223,7 @@ ScDPDateGroupDlg::ScDPDateGroupDlg(weld::Window* pParent, nDatePart = css::sheet::DataPilotFieldGroupBy::MONTHS; for (size_t nIdx = 0; nIdx < SAL_N_ELEMENTS(aDatePartResIds); ++nIdx) { - mxLbUnits->insert(nullptr, -1, nullptr, nullptr, nullptr, nullptr, nullptr, false); + mxLbUnits->append(); mxLbUnits->set_toggle(nIdx, (nDatePart & spnDateParts[ nIdx ]) != 0, 0); mxLbUnits->set_text(nIdx, ScResId(aDatePartResIds[nIdx]), 1); } diff --git a/sc/source/ui/dbgui/pvfundlg.cxx b/sc/source/ui/dbgui/pvfundlg.cxx index 9b77bbe28472..f2d357119d8f 100644 --- a/sc/source/ui/dbgui/pvfundlg.cxx +++ b/sc/source/ui/dbgui/pvfundlg.cxx @@ -95,8 +95,7 @@ bool lclFillListBox(weld::TreeView& rLBox, const vector<ScDPLabelData::Member>& bool bEmpty = false; for (const auto& rMember : rMembers) { - rLBox.insert(nullptr, -1, nullptr, nullptr, - nullptr, nullptr, nullptr, false); + rLBox.append(); int pos = rLBox.n_children() - 1; rLBox.set_toggle(pos, false, 0); OUString aName = rMember.getDisplayName(); diff --git a/sc/source/ui/miscdlgs/protectiondlg.cxx b/sc/source/ui/miscdlgs/protectiondlg.cxx index f363f412a423..61fe3de16211 100644 --- a/sc/source/ui/miscdlgs/protectiondlg.cxx +++ b/sc/source/ui/miscdlgs/protectiondlg.cxx @@ -91,8 +91,7 @@ void ScTableProtectionDlg::WriteData(ScTableProtection& rData) const void ScTableProtectionDlg::InsertEntry(const OUString& rTxt) { - m_xOptionsListBox->insert(nullptr, -1, nullptr, nullptr, nullptr, - nullptr, nullptr, false); + m_xOptionsListBox->append(); const int nRow = m_xOptionsListBox->n_children() - 1; m_xOptionsListBox->set_toggle(nRow, false, 0); m_xOptionsListBox->set_text(nRow, rTxt, 1); diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx b/sc/source/ui/miscdlgs/solveroptions.cxx index 77ad31bc86e9..5830a207f3fa 100644 --- a/sc/source/ui/miscdlgs/solveroptions.cxx +++ b/sc/source/ui/miscdlgs/solveroptions.cxx @@ -183,8 +183,7 @@ void ScSolverOptionsDialog::FillListBox() uno::Any aValue = maProperties[nPos].Value; uno::TypeClass eClass = aValue.getValueTypeClass(); - m_xLbSettings->insert(nullptr, -1, nullptr, nullptr, - nullptr, nullptr, nullptr, false); + m_xLbSettings->append(); if ( eClass == uno::TypeClass_BOOLEAN ) { diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx index 8f93788269c3..246f213fd1dd 100644 --- a/sc/source/ui/namedlg/namemgrtable.cxx +++ b/sc/source/ui/namedlg/namemgrtable.cxx @@ -369,7 +369,7 @@ IMPL_LINK_NOARG(RangeManagerTable, SizeAllocHdl, const Size&, void) void RangeManagerTable::addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry) { int nRow = m_xTreeView->n_children(); - m_xTreeView->insert(nullptr, -1, nullptr, nullptr, nullptr, nullptr, nullptr, false); + m_xTreeView->append(); m_xTreeView->set_text(nRow, rLine.aName, 0); m_xTreeView->set_text(nRow, rLine.aExpression, 1); m_xTreeView->set_text(nRow, rLine.aScope, 2); |