[Libreoffice-commits] core.git: sw/source
Michael Stahl
mstahl at redhat.com
Tue Mar 13 20:00:16 UTC 2018
sw/source/core/text/xmldump.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bd23e1dd6b3a36f7a04e84dd51ceaecee0984f51
Author: Michael Stahl <mstahl at redhat.com>
Date: Tue Mar 13 20:45:27 2018 +0100
sw: try to fix Android build, use printf macro
Change-Id: I94208553c7678d9d108ec3f76decc3c38d69802e
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index e7c1fade99a7..3d08e365df2d 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -466,7 +466,7 @@ void SwFont::dumpAsXml(xmlTextWriterPtr writer) const
xmlTextWriterStartElement(writer, BAD_CAST("SwFont"));
xmlTextWriterWriteFormatAttribute(writer, BAD_CAST("ptr"), "%p", this);
// do not use Color::AsRGBHexString() as that omits the transparency
- xmlTextWriterWriteFormatAttribute(writer, BAD_CAST("color"), "%08x", sal_uInt32(GetColor()));
+ xmlTextWriterWriteFormatAttribute(writer, BAD_CAST("color"), "%08" SAL_PRIxUINT32, sal_uInt32(GetColor()));
xmlTextWriterEndElement(writer);
}
More information about the Libreoffice-commits
mailing list