From ac9c80ab08515ee2eab56293e24a5ed96ba06e5b Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 7 Sep 2020 09:50:45 +0200 Subject: tdf#136534: Font replacement table loads existing rule incorrectly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression from cd384e2d31f74223948ea70d8aa3c318d3ceeb50 author Caolán McNamara 2020-06-05 16:11:39 +0100 committer Caolán McNamara 2020-06-08 20:21:35 +0200 commit cd384e2d31f74223948ea70d8aa3c318d3ceeb50 (patch) tree 49ae5191c2bd4b13c3cd547951933fbc37cda0fa /cui/source/options/fontsubs.cxx parent c3669c8bd62ecf5eaa6b5e95289825bc11b2688a (diff) rework treeview initial toggle button col to be like expander col cause this assumption is baked into the vcl one making it hard to adapt remaining cases Change-Id: I31854211be5f558b51f345af6a11c471a9bd120d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102148 Tested-by: Jenkins Reviewed-by: Julien Nabet --- cui/source/options/fontsubs.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui') diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index d0bb9ffac941..b067aaf05f80 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -326,8 +326,8 @@ void SvxFontSubstTabPage::SelectHdl(const weld::Widget* pWin) if (m_xCheckLB->count_selected_rows() == 1) { int nRow = m_xCheckLB->get_selected_index(); - m_xFont1CB->set_entry_text(m_xCheckLB->get_text(nRow, 3)); - m_xFont2CB->set_entry_text(m_xCheckLB->get_text(nRow, 4)); + m_xFont1CB->set_entry_text(m_xCheckLB->get_text(nRow, 2)); + m_xFont2CB->set_entry_text(m_xCheckLB->get_text(nRow, 3)); } } -- cgit