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

Miklos Vajna vmiklos at collabora.co.uk
Thu Jun 5 12:42:08 PDT 2014


 sw/source/core/docnode/nodedump.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c18f300ce82da528afb111fa335fd74176771634
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jun 5 21:40:59 2014 +0200

    loplugin:implicitboolconversion
    
    Change-Id: I8fac41d74ada3e85c09bcbeba4856dfe03966ed4

diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index 0c40a8a..7eeb80a 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -193,7 +193,7 @@ void SwDoc::dumpAsXml( xmlTextWriterPtr w )
     lcl_dumpSdrModel( writer, getIDocumentDrawModelAccess().GetDrawModel() );
 
     writer.startElement("mbModified");
-    writer.writeFormatAttribute("value", TMP_FORMAT, mbModified);
+    writer.writeFormatAttribute("value", TMP_FORMAT, static_cast<int>(mbModified));
     writer.endElement();
 
     writer.endElement();


More information about the Libreoffice-commits mailing list