From bd23e1dd6b3a36f7a04e84dd51ceaecee0984f51 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 13 Mar 2018 20:45:27 +0100 Subject: [PATCH] sw: try to fix Android build, use printf macro Change-Id: I94208553c7678d9d108ec3f76decc3c38d69802e --- sw/source/core/text/xmldump.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }