summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-28 11:23:42 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-28 15:57:11 +0200
commit5ed755ed8fa8edb27f43eb2c9d1efedd004e95b3 (patch)
tree932c53a9e012117e5d9848985731462dd9038669
parent5e62d30fa2a23c916402388ab8157d365b47230f (diff)
SwFrmFmts::dumpAsXml: show address of the frame format
Change-Id: I4dc0c51f90f06c85ca0da3d581060f29b029b762
-rw-r--r--sw/source/core/docnode/nodedump.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index 3266c1fad956..5283af3d00ca 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -561,6 +561,7 @@ void SwFrmFmts::dumpAsXml(xmlTextWriterPtr w, const char* pName)
SwFrmFmt* pFmt = static_cast<SwFrmFmt*>(GetFmt(i));
writer.startElement("swfrmfmt");
OString aName = OUStringToOString(pFmt->GetName(), RTL_TEXTENCODING_UTF8);
+ writer.writeFormatAttribute("ptr", "%p", pFmt);
writer.writeFormatAttribute("name", "%s", BAD_CAST(aName.getStr()));
writer.writeFormatAttribute("whichId", TMP_FORMAT, pFmt->Which());