diff options
author | hb <hbrinkm@openoffice.org> | 2010-05-03 13:55:30 +0200 |
---|---|---|
committer | hb <hbrinkm@openoffice.org> | 2010-05-03 13:55:30 +0200 |
commit | 6d60f1c26467cd7458671515202c07ae7d769f10 (patch) | |
tree | c9abe46c098173f09f3f65d21fd396ec6f303f42 | |
parent | c0136f89cb31a861f604101f7de0e6ed32c6d92e (diff) |
hb33tablebylayout: more fiddling with archticture dependant length of variables
-rw-r--r-- | sw/source/filter/ww8/WW8TableInfo.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/filter/ww8/WW8TableInfo.cxx b/sw/source/filter/ww8/WW8TableInfo.cxx index 456c0064c32c..4bee56fa12ef 100644 --- a/sw/source/filter/ww8/WW8TableInfo.cxx +++ b/sw/source/filter/ww8/WW8TableInfo.cxx @@ -578,7 +578,7 @@ WW8TableInfo::processSwTableByLayout(const SwTable * pTable) ::std::clog << "<CellFrm>" << ::std::endl; snprintf(sBuffer, sizeof(sBuffer), - "<rect top=\"%" SAL_PRIdINT32 "\" bottom=\"%" SAL_PRIdINT32 "\" left=\"%" SAL_PRIdINT32 "\" right=\"%" SAL_PRIdINT32 "\"/>", + "<rect top=\"%ld\" bottom=\"%ld\" left=\"%ld\" right=\"%ld\"/>", aRect.Top(), aRect.Bottom(), aRect.Left(), aRect.Right()); ::std::clog << sBuffer << ::std::endl; #endif @@ -1001,10 +1001,10 @@ bool CellInfo::operator < (const CellInfo & aCellInfo) const static char sBuffer[256]; snprintf(sBuffer, sizeof(sBuffer), - "<cellinfo left=\"%" SAL_PRIdINT32 "\"" - " right=\"%" SAL_PRIdINT32 "\"" - " top=\"%" SAL_PRIdINT32 "\"" - " bottom=\"%" SAL_PRIdINT32 "\"" + "<cellinfo left=\"%ld\"" + " right=\"%ld\"" + " top=\"%ld\"" + " bottom=\"%ld\"" " node=\"%p\"/>", left(), right(), @@ -1289,7 +1289,7 @@ string WW8TableCellGrid::toString() static char sBuffer[1024]; while (aTopsIt != getRowTopsEnd()) { - sprintf(sBuffer, "<row y=\"%" SAL_PRIxUINT32 "\">", *aTopsIt); + sprintf(sBuffer, "<row y=\"%ld\">", *aTopsIt); sResult += sBuffer; CellInfoMultiSet::const_iterator aCellIt = getCellsBegin(*aTopsIt); @@ -1297,7 +1297,7 @@ string WW8TableCellGrid::toString() while (aCellIt != aCellsEnd) { - snprintf(sBuffer, sizeof(sBuffer), "<cellInfo top=\"%" SAL_PRIxUINT32 "\" bottom=\"%" SAL_PRIxUINT32 "\" left=\"%" SAL_PRIxUINT32 "\" right=\"%" SAL_PRIxUINT32 "\">", + snprintf(sBuffer, sizeof(sBuffer), "<cellInfo top=\"%ld\" bottom=\"%ld\" left=\"%ld\" right=\"%ld\">", aCellIt->top(), aCellIt->bottom(), aCellIt->left(), aCellIt->right()); sResult += sBuffer; |