Author: paveljanik
Date: Fri May 17 08:38:59 2013
New Revision: 1483690
URL: http://svn.apache.org/r1483690
Log:
Use sal's size_t printf type modifier to prevent compiler warning.
Modified:
openoffice/trunk/main/hwpfilter/source/hwpreader.cxx
Modified: openoffice/trunk/main/hwpfilter/source/hwpreader.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/hwpfilter/source/hwpreader.cxx?rev=1483690&r1=1483689&r2=1483690&view=diff
==============================================================================
--- openoffice/trunk/main/hwpfilter/source/hwpreader.cxx (original)
+++ openoffice/trunk/main/hwpfilter/source/hwpreader.cxx Fri May 17 08:38:59
2013
@@ -1944,7 +1944,7 @@ void HwpReader::makeTableStyle(Table *tb
// --------------- 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 "d",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);