diff options
-rw-r--r-- | vcl/source/gdi/bitmap3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx index db9943048e13..95525fe61cff 100644 --- a/vcl/source/gdi/bitmap3.cxx +++ b/vcl/source/gdi/bitmap3.cxx @@ -627,6 +627,8 @@ bool Bitmap::ImplConvertDown(sal_uInt16 nBitCount, Color const * pExtColor) } } + assert(pQLine2 || nHeight == 0); + for (long nY = 0; nY < nHeight; nY++, nYTmp++) { // first pixel in the line |