[Libreoffice-commits] core.git: cui/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Mon Sep 7 09:07:35 UTC 2020
cui/source/options/fontsubs.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ac9c80ab08515ee2eab56293e24a5ed96ba06e5b
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Mon Sep 7 09:50:45 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Sep 7 11:07:00 2020 +0200
tdf#136534: Font replacement table loads existing rule incorrectly
Regression from cd384e2d31f74223948ea70d8aa3c318d3ceeb50
author Caolán McNamara <caolanm at redhat.com> 2020-06-05 16:11:39 +0100
committer Caolán McNamara <caolanm at 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 at yahoo.fr>
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));
}
}
More information about the Libreoffice-commits
mailing list