summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/docnode/nodedump.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index e9746538f5ae..0eaa082996bc 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -341,6 +341,9 @@ void SwNumRule::dumpAsXml(xmlTextWriterPtr w)
writer.startElement("swnumrule");
OString aName = OUStringToOString(GetName(), RTL_TEXTENCODING_UTF8);
writer.writeFormatAttribute("name", "%s", BAD_CAST(aName.getStr()));
+ writer.writeFormatAttribute("isautorule", TMP_FORMAT, IsAutoRule());
+ if (GetPoolFmtId() != USHRT_MAX)
+ writer.writeFormatAttribute("poolfmtid", TMP_FORMAT, GetPoolFmtId());
writer.endElement();
}