INTEGRATION: CWS xf02bigcleanup (1.4.4); FILE MERGED

2008/01/23 15:49:31 hbrinkm 1.4.4.1: #i85380# applied patch by pavel
This commit is contained in:
Vladimir Glazounov 2008-01-24 14:57:48 +00:00
parent 0150bf6f60
commit d7432ed509
2 changed files with 9 additions and 9 deletions

View file

@ -4,9 +4,9 @@
*
* $RCSfile: WW8CpAndFc.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2008-01-10 11:45:39 $
* last change: $Author: vg $ $Date: 2008-01-24 15:57:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -59,7 +59,7 @@ string Cp::toString() const
{
char sBuffer[256];
snprintf(sBuffer, 255, "%lx", get());
snprintf(sBuffer, 255, "%" SAL_PRIxUINT32 "", get());
return string(sBuffer);
}
@ -83,7 +83,7 @@ string Fc::toString() const
{
char sBuffer[256];
snprintf(sBuffer, 255, "(%lx, %s)", static_cast<sal_uInt32>(get()),
snprintf(sBuffer, 255, "(%" SAL_PRIxUINT32 ", %s)", static_cast<sal_uInt32>(get()),
isComplex() ? "true" : "false");
return string(sBuffer);
@ -124,7 +124,7 @@ ostream & operator << (ostream & o, const CpAndFcs & rCpAndFcs)
char sBuffer[256];
snprintf(sBuffer, 255, "%d", rCpAndFcs.size());
snprintf(sBuffer, 255, "%" SAL_PRI_SIZET "u", rCpAndFcs.size());
o << sBuffer;
return o;

View file

@ -4,9 +4,9 @@
*
* $RCSfile: WW8FKPImpl.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2008-01-10 11:46:44 $
* last change: $Author: vg $ $Date: 2008-01-24 15:57:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -113,7 +113,7 @@ void WW8CHPFKPImpl::dump(OutputWithDepth<string> & o) const
char sBuffer[256];
snprintf(sBuffer, sizeof(sBuffer),
"<fkpentry fc='%lx' offsetInFkp='%x'/>",
"<fkpentry fc='%" SAL_PRIxUINT32 "' offsetInFkp='%x'/>",
getFc(n).get(), 2 * getU8(getRgb() + n));
o.addItem(sBuffer);
@ -177,7 +177,7 @@ void WW8PAPFKPImpl::dump(OutputWithDepth<string> & o) const
char sBuffer[256];
snprintf(sBuffer, sizeof(sBuffer),
"<fkpentry fc='%lx' offsetInFKP='%x'/>",
"<fkpentry fc='%" SAL_PRIxUINT32 "' offsetInFKP='%x'/>",
getFc(n).get(), 2 * getU8(getRgb() + n * 13));
o.addItem(sBuffer);