diff options
author | Baole Fang <baole.fang@gmail.com> | 2024-02-14 20:00:48 -0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-02-16 05:13:02 +0100 |
commit | 694b9b6422ee27da13ad455174cde50b1a673ac7 (patch) | |
tree | f6f87f4b18d7c71a5a697cf01fab6c6edc401a16 | |
parent | 0222b0a414bdbdc41af42cf033a753d82e8463c5 (diff) |
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.kaganski@collabora.com>
-rw-r--r-- | sw/source/ui/fldui/flddok.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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: |