[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Dec 16 04:48:22 PST 2015


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

New commits:
commit 620f365032ed236e7350c87126e986cf236f3996
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Dec 16 12:44:22 2015 +0100

    sw layout xml dump: show if the frame has fix size
    
    Change-Id: Ie9f9c5cc94b87914bcd7d5392f6fd1ee447e94ec

diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 83adb1f..ede5dc0 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -357,6 +357,7 @@ void SwFrame::dumpInfosAsXml( xmlTextWriterPtr writer ) const
     xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "top" ), "%ld", Frame().Top() );
     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()));
     xmlTextWriterEndElement( writer );
 }
 


More information about the Libreoffice-commits mailing list