summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-09-07 09:50:45 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-07 11:07:00 +0200
commitac9c80ab08515ee2eab56293e24a5ed96ba06e5b (patch)
treeb46493b13d08d7d45c726c773610ec6cd6f70739 /cui
parenteacb86d332563a5651793f1aaa687528736a7bfb (diff)
tdf#136534: Font replacement table loads existing rule incorrectly
Regression from cd384e2d31f74223948ea70d8aa3c318d3ceeb50 author Caolán McNamara <caolanm@redhat.com> 2020-06-05 16:11:39 +0100 committer Caolán McNamara <caolanm@redhat.com> 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 <serval2412@yahoo.fr>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/fontsubs.cxx4
1 files changed, 2 insertions, 2 deletions
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));
}
}