[Libreoffice-commits] .: sw/source
Michael Stahl
mst at kemper.freedesktop.org
Thu Mar 15 05:35:33 PDT 2012
sw/source/core/text/xmldump.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e580246b475bba07f581452c03eff7617d06efc4
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu Mar 15 13:32:14 2012 +0100
sw: xmldump: print pointers again
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 3b0bfe4..e443f6d 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 )
More information about the Libreoffice-commits
mailing list