Kaydet (Commit) c03a7077 authored tarafından Caolán McNamara's avatar Caolán McNamara

tdf#121538 index 1 never existed

Change-Id: I8493685ceab81a2bd07a3fc75b371a0f679695fb
Reviewed-on: https://gerrit.libreoffice.org/63651
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst f715d615
...@@ -1612,7 +1612,9 @@ IMPL_LINK_NOARG(SvxNumberFormatTabPage, LostFocusHdl_Impl, weld::Widget&, void) ...@@ -1612,7 +1612,9 @@ IMPL_LINK_NOARG(SvxNumberFormatTabPage, LostFocusHdl_Impl, weld::Widget&, void)
{ {
sal_uInt16 nSelPos = m_xLbFormat->get_selected_index(); sal_uInt16 nSelPos = m_xLbFormat->get_selected_index();
pNumFmtShell->SetComment4Entry(nSelPos, m_xEdComment->get_text()); pNumFmtShell->SetComment4Entry(nSelPos, m_xEdComment->get_text());
m_xEdComment->set_text(m_xLbCategory->get_text(1)); // String for user defined // String for user defined, if present
OUString sEntry = m_xLbCategory->n_children() > 1 ? m_xLbCategory->get_text(1) : OUString();
m_xEdComment->set_text(sEntry);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment