editeng/source/items/textitem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9284699648fec713a0b5d6c49157be0ee894d592
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Fri Dec 5 12:45:38 2014 +0100

    -Werror=format on Android
    
    Probably 32bit vs 64bit.
    
    Change-Id: I3ca93e88393538ba20cce23a7165d406db3144c4

diff --git a/editeng/source/items/textitem.cxx 
b/editeng/source/items/textitem.cxx
index aa0e57c..5ccc7c7 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);
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to