summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-05 12:45:38 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-05 12:45:38 +0100
commit9284699648fec713a0b5d6c49157be0ee894d592 (patch)
treea57b3f6922b92a94f868684778e64f67cd0e11f9 /editeng
parent06e8e1574ef743cb565d01ada8381cf6a9881e82 (diff)
-Werror=format on Android
Probably 32bit vs 64bit. Change-Id: I3ca93e88393538ba20cce23a7165d406db3144c4
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/textitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index aa0e57c99902..5ccc7c77636c 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -592,7 +592,7 @@ void SvxPostureItem::SetBoolValue( bool bVal )
void SvxPostureItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
xmlTextWriterStartElement(pWriter, BAD_CAST("svxPostureItem"));
- xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("whichId"), "%" SAL_PRIuUINT32, Which());
+ xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("whichId"), "%d", Which());
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("presentation"), BAD_CAST(GetValueTextByPos(GetValue()).toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
}