diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 18:11:49 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 10:36:14 +0900 |
| commit | cf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (patch) | |
| tree | 868514a6f6939c71ee95754268a4b850fa60c5a5 /chalk/core/kis_scale_visitor.cpp | |
| parent | a6b8cc41e27c15bb670aa7c0c0464b6eb44099e9 (diff) | |
| download | koffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.tar.gz koffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/core/kis_scale_visitor.cpp')
| -rw-r--r-- | chalk/core/kis_scale_visitor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/core/kis_scale_visitor.cpp b/chalk/core/kis_scale_visitor.cpp index a06d674d1..f89f03ae4 100644 --- a/chalk/core/kis_scale_visitor.cpp +++ b/chalk/core/kis_scale_visitor.cpp @@ -117,7 +117,7 @@ void KisScaleWorker::run() { for(int channel = 0; channel < m_pixelSize; channel++){ weight[channel] = 0.0; - bPelDelta[channel] = FALSE; + bPelDelta[channel] = false; pel[channel]=tmpRows[contribY.p[0].m_pixel][ x * m_pixelSize + channel ]; } for(int srcpos = 0; srcpos < contribY.n; srcpos++) @@ -126,7 +126,7 @@ void KisScaleWorker::run() for(int channel = 0; channel < m_pixelSize; channel++) { pel2[channel]=tmpRows[contribY.p[srcpos].m_pixel][ x * m_pixelSize + channel ]; - if(pel2[channel] != pel[channel]) bPelDelta[channel] = TRUE; + if(pel2[channel] != pel[channel]) bPelDelta[channel] = true; weight[channel] += pel2[channel] * contribY.p[srcpos].m_weight; } } @@ -143,7 +143,7 @@ void KisScaleWorker::run() { for(int channel = 0; channel < m_pixelSize; channel++){ weight[channel] = 0.0; - bPelDelta[channel] = FALSE; + bPelDelta[channel] = false; pel[channel] = tmp[ contribX[x].p[0].m_pixel * m_pixelSize + channel ]; } for(int srcpos = 0; srcpos < contribX[x].n; srcpos++) @@ -151,7 +151,7 @@ void KisScaleWorker::run() for(int channel = 0; channel < m_pixelSize; channel++){ pel2[channel] = tmp[ contribX[x].p[srcpos].m_pixel * m_pixelSize + channel ]; if(pel2[channel] != pel[channel]) - bPelDelta[channel] = TRUE; + bPelDelta[channel] = true; weight[channel] += pel2[channel] * contribX[x].p[srcpos].m_weight; } } |
