summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/fldui/flddok.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/flddok.cxx')
-rw-r--r--sw/source/ui/fldui/flddok.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx
index 1a2857bedb..5cb38a38ac 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: