From 0c7a741d320bf02ca2957b85739ee636bffc695f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 16 Mar 2013 11:28:20 +0200 Subject: WaE: comparison of integers of different signs Change-Id: I065c229be1e74c198e1d5bd8707898c14d7ee34e --- svx/source/svdraw/svdfmtf.cxx | 8 ++++---- 1 file 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)); -- cgit