diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-06-01 10:51:27 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-06-01 14:07:07 +0200 |
commit | b64cd9c8e0498b8aecc49eba873d2a3fd3065a6a (patch) | |
tree | 4de621c7628b4a29fb50520a36eae2a13b1fb53c /svl/source/items/poolitem.cxx | |
parent | 6e2993e1a7a61d69717b3fcf93ffa52fa0f26ba9 (diff) |
sw doc model xml dump: show address of SfxBoolItems
I want to know when a relevant keep-with-next pool item is read, but
there are many of them, so seeing the pointer address is helpful.
Change-Id: I5ff7654430a41eaea6c7b0cf722e34256cdd4d3a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152480
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'svl/source/items/poolitem.cxx')
-rw-r--r-- | svl/source/items/poolitem.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index c09b635696d9..9869d9d4fa08 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -535,6 +535,7 @@ bool SfxPoolItem::GetPresentation( void SfxPoolItem::dumpAsXml(xmlTextWriterPtr pWriter) const { (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SfxPoolItem")); + (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this); (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("typeName"), |