summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 54e35d096d0c..a7b7f9f57909 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -2877,9 +2877,9 @@ void AttributeOutputBase::TextField( const SwFormatField& rField )
SwChapterField aCopy(*static_cast<const SwChapterField*>(pField));
aCopy.ChangeExpansion(*pTextNd, false);
const OUString sStr = FieldString(ww::eSTYLEREF)
- + " \"Heading "
+ + " "
+ OUString::number(aCopy.GetLevel() + 1)
- + "\" \\* MERGEFORMAT ";
+ + " \\* MERGEFORMAT ";
GetExport().OutputField(pField, ww::eSTYLEREF, sStr);
bWriteExpand = false;
}