sw/source/ui/fldui/flddok.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 694b9b6422ee27da13ad455174cde50b1a673ac7 Author: Baole Fang <baole.f...@gmail.com> AuthorDate: Wed Feb 14 20:00:48 2024 -0500 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Feb 16 05:13:02 2024 +0100 tdf#159678: Fix heading dropdown list Change-Id: I65b6e6e5484f26b27e7851a6615550f527fcfb06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163416 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx index 1a2857bedbdd..5cb38a38aca9 100644 --- a/sw/source/ui/fldui/flddok.cxx +++ b/sw/source/ui/fldui/flddok.cxx @@ -601,7 +601,7 @@ bool SwFieldDokPage::FillItemSet(SfxItemSet* ) } case SwFieldTypesEnum::Chapter: - aVal = OUString::number(m_xLevelED->get_active()); + aVal = m_xLevelED->get_active_text(); break; default: