summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-03-15 13:32:14 +0100
committerMichael Stahl <mstahl@redhat.com>2012-03-15 13:33:54 +0100
commite580246b475bba07f581452c03eff7617d06efc4 (patch)
treed395c0b2574b2377ea02276af9ef4aa6712c174b /sw
parentcc9a10185749210825fe6970ea4b103eb78e329e (diff)
sw: xmldump: print pointers again
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/xmldump.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 3b0bfe4f0a24..e443f6da09d1 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -345,6 +345,7 @@ void SwFrm::dumpInfosAsXml( xmlTextWriterPtr writer )
void SwFrm::dumpAsXmlAttributes( xmlTextWriterPtr writer )
{
+ xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "ptr" ), "%p", this );
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "id" ), "%u", GetFrmId() );
if ( GetNext( ) )
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "next" ), "%u", GetNext()->GetFrmId() );
@@ -378,6 +379,7 @@ void SwAnchoredObject::dumpAsXml( xmlTextWriterPtr writer )
writer = lcl_createDefaultWriter();
xmlTextWriterStartElement( writer, BAD_CAST( getElementName() ) );
+ xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "ptr" ), "%p", this );
xmlTextWriterEndElement( writer );
if ( bCreateWriter )