sw/source/core/text/xmldump.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 28584366a4ce57df988fadea98c81604d7c2c564
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Fri Oct 20 10:43:45 2017 +0200

    sw layout xml dump: show validity flags of SwFrame
    
    Change-Id: I48ef2d7b2f88421c90a5128785e21868dc2cef32
    Reviewed-on: https://gerrit.libreoffice.org/43589
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>

diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 7a28ceed4862..610dd9ce45b1 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -359,6 +359,9 @@ void SwFrame::dumpInfosAsXml( xmlTextWriterPtr writer ) 
const
     xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "width" ), "%ld", 
Frame().Width() );
     xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "height" ), "%ld", 
Frame().Height() );
     xmlTextWriterWriteAttribute(writer, BAD_CAST("mbFixSize"), 
BAD_CAST(OString::boolean(HasFixSize()).getStr()));
+    xmlTextWriterWriteAttribute(writer, BAD_CAST("mbValidPos"), 
BAD_CAST(OString::boolean(GetValidPosFlag()).getStr()));
+    xmlTextWriterWriteAttribute(writer, BAD_CAST("mbValidSize"), 
BAD_CAST(OString::boolean(GetValidSizeFlag()).getStr()));
+    xmlTextWriterWriteAttribute(writer, BAD_CAST("mbValidPrtArea"), 
BAD_CAST(OString::boolean(GetValidPrtAreaFlag()).getStr()));
     xmlTextWriterEndElement( writer );
 
     // output the Prt
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to