sw: try to fix Android build, use printf macro

Change-Id: I94208553c7678d9d108ec3f76decc3c38d69802e
This commit is contained in:
Michael Stahl
2018-03-13 20:57:40 +01:00
parent fb1825bf3f
commit bd23e1dd6b
+1 -1
View File
@@ -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);
}