summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-11-23 16:34:58 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-11-23 20:21:23 +0100
commit7d43a3b02fee1c89cf706e7f917ae5d462974fe5 (patch)
tree2a0d20b381e47c2f1bb1865ff1f6728a3e082ee7 /sw
parent7e2f98d0a0c4a0f36a94353a256e7cc5caa3113b (diff)
Show typeid in layout xml dump for debugging purpose
Change-Id: Ie36ba37d521b4a73455488cee61ef55a6fcc9c0f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/xmldump.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index dc4c7c4fc9b6..5decf30d4d31 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -365,6 +365,7 @@ void SwFrm::dumpAsXmlAttributes( xmlTextWriterPtr writer )
{
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "ptr" ), "%p", this );
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "id" ), "%" SAL_PRIuUINT32, GetFrmId() );
+ xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "symbol" ), "%s", BAD_CAST( typeid( *this ).name( ) ) );
if ( GetNext( ) )
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "next" ), "%" SAL_PRIuUINT32, GetNext()->GetFrmId() );
if ( GetPrev( ) )