From e580246b475bba07f581452c03eff7617d06efc4 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 15 Mar 2012 13:32:14 +0100 Subject: sw: xmldump: print pointers again --- sw/source/core/text/xmldump.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/source') 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 ) -- cgit