[Libreoffice-commits] .: Branch 'libreoffice-3-6' - hwpfilter/source
Michael Stahl
mst at kemper.freedesktop.org
Tue Jul 24 11:27:33 PDT 2012
hwpfilter/source/hwpreader.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 330769828fdf933eb1fb6b504ebbeb5cbe0e0eba
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Tue Jul 24 21:17:58 2012 +0400
-Werror=format
Change-Id: If468ca444865f81a7adeabb72ecb6d8647f6dde0
(cherry picked from commit 10f08195b8195640016a6eab42818c662f4541d2)
Signed-off-by: Michael Stahl <mstahl at redhat.com>
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 412a966..c726fb6 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -1903,7 +1903,7 @@ void HwpReader::makeTableStyle(Table *tbl)
// --------------- row ---------------- //
for (size_t i = 0 ; i < tbl->rows.nCount -1 ; i++)
{
- sprintf(buf,"Table%d.row%ld",hbox->style.boxnum, i + 1);
+ sprintf(buf,"Table%d.row%" SAL_PRI_SIZET "u",hbox->style.boxnum, i + 1);
padd(ascii("style:name"), sXML_CDATA, ascii( buf ));
padd(ascii("style:family"), sXML_CDATA,ascii("table-row"));
rstartEl(ascii("style:style"), rList);
More information about the Libreoffice-commits
mailing list