diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-16 11:28:20 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-16 11:28:20 +0200 |
commit | 0c7a741d320bf02ca2957b85739ee636bffc695f (patch) | |
tree | e437d53fa32832023d9cbcb5071db48f090d4ac5 | |
parent | 12dfca2ea61116665a7abefd43a9a4caa2b8920b (diff) |
WaE: comparison of integers of different signs
Change-Id: I065c229be1e74c198e1d5bd8707898c14d7ee34e
-rw-r--r-- | svx/source/svdraw/svdfmtf.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index 583e54c19300..a45339447c9c 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -1513,9 +1513,9 @@ void ImpSdrGDIMetaFileImport::DoAction(MetaFloatTransparentAction& rAct) { const double fOpNew(1.0 - fTransparence); - for(sal_uInt32 y(0); y < pOld->Height(); y++) + for(int y(0); y < pOld->Height(); y++) { - for(sal_uInt32 x(0); x < pOld->Width(); x++) + for(int x(0); x < pOld->Width(); x++) { const double fOpOld(1.0 - (pOld->GetPixel(y, x).GetIndex() * fFactor)); const sal_uInt8 aCol(basegfx::fround((1.0 - (fOpOld * fOpNew)) * 255.0)); @@ -1532,9 +1532,9 @@ void ImpSdrGDIMetaFileImport::DoAction(MetaFloatTransparentAction& rAct) { if(pOld->Width() == pNew->Width() && pOld->Height() == pNew->Height()) { - for(sal_uInt32 y(0); y < pOld->Height(); y++) + for(int y(0); y < pOld->Height(); y++) { - for(sal_uInt32 x(0); x < pOld->Width(); x++) + for(int x(0); x < pOld->Width(); x++) { const double fOpOld(1.0 - (pOld->GetPixel(y, x).GetIndex() * fFactor)); const double fOpNew(1.0 - (pNew->GetPixel(y, x).GetIndex() * fFactor)); |