diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-23 21:47:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-23 22:04:49 +0100 |
commit | 13f80252de289b666b5df126e1ec8a9c99445bac (patch) | |
tree | 611457cba006e1c0f3dbba0066b25c7fc0bec0dc /vcl | |
parent | bc2552fa3197617ec909e90996076ea45a27ce5c (diff) |
pQLine2 will be non-zero in any case that nHeight is non-zero
Change-Id: I5c836552df2122049dc88ca724444b29ae2c74e9
Diffstat (limited to 'vcl')
-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 |