summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-08-31 11:08:08 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-10-02 17:38:14 +0200
commitba71c346d6ac60b2c49caed81673d4ca498a6f1e (patch)
tree2e801ba0a0c52ab1bcb3a4699f56ff058cd7210e /sw/source
parentda14d66a3d2faf52210498fda03a0957d4edc7a7 (diff)
Output typeid().name( ) in layout dump for easier debugging
Change-Id: I12c0583b73200fa9fa4d4d56be464b1467149630
Diffstat (limited to 'sw/source')
-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 7df0ec8aaf82..e4a94cc0cf34 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -304,6 +304,8 @@ void SwFrm::dumpAsXml( xmlTextWriterPtr writer )
xmlTextWriterEndElement( writer );
}
+ xmlTextWriterWriteElement( writer, BAD_CAST( "typeid" ), BAD_CAST( typeid( *this ).name() ) );
+
// Dump the children
if ( IsTxtFrm( ) )
{