summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-03-13 20:45:27 +0100
committerMichael Stahl <mstahl@redhat.com>2018-03-13 20:57:40 +0100
commitbd23e1dd6b3a36f7a04e84dd51ceaecee0984f51 (patch)
tree62e9886a70b180c45cc03fc970ec1aaff5436c0d /sw
parentfb1825bf3f82eb6b69c6534207c9c89cc535f18b (diff)
sw: try to fix Android build, use printf macro
Change-Id: I94208553c7678d9d108ec3f76decc3c38d69802e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/xmldump.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}