sw/source/core/docnode/nodedump.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit c4c1fa13989c8bd4f7a4ba8f57be4c7a40522b8f Author: Adam Co <rattles2...@gmail.com> Date: Wed Feb 5 13:47:40 2014 +0200 Add XML dumping of the new 'SwTableCellRedline' Change-Id: I4072130ff0ce712f02d1dd8f12003170116216a2 Reviewed-on: https://gerrit.libreoffice.org/7876 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Miklos Vajna <vmik...@collabora.co.uk> diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index c15ba59..b4d455b 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -618,8 +618,11 @@ void SwExtraRedlineTbl::dumpAsXml( xmlTextWriterPtr w ) writer.startElement( "swextraredline" ); { const SwTableRowRedline* pTableRowRedline = dynamic_cast<const SwTableRowRedline*>(pExtraRedline); + const SwTableCellRedline* pTableCellRedline = dynamic_cast<const SwTableCellRedline*>(pExtraRedline); if (pTableRowRedline) writer.writeFormatAttribute( "extra_redline_type", "%s", BAD_CAST( "table row" ) ); + else if (pTableCellRedline) + writer.writeFormatAttribute( "extra_redline_type", "%s", BAD_CAST( "table cell" ) ); else writer.writeFormatAttribute( "extra_redline_type", "%s", BAD_CAST( "UNKNOWN" ) ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits