[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Thu Oct 10 06:09:02 PDT 2013


 sw/source/core/docnode/nodedump.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4e8bc6930972fb59cc22a74925071409fd50698e
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Oct 10 14:39:23 2013 +0200

    SwNumRule::dumpAsXml: include IsAutoRule() and GetPoolFmtId() output
    
    Change-Id: I8f3fbe00f472d694a7b9ea31fd251101c9ad73e3

diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index e974653..0eaa082 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();
 }
 


More information about the Libreoffice-commits mailing list