summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-11-20 12:10:21 +0100
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:18 +0100
commitc41d44286570c0b6da5e2a5901f5e2401037378e (patch)
tree4bdf8534ef031a5c00848303ccc7fa9fd2e45dec /vcl
parenta082d7b36e6d88ac4a8a1bf772c084ea460d488a (diff)
fix mistyped operator
Change-Id: I10ca633d31163c968b0010983132942a1823a3f6
Diffstat (limited to 'vcl')
-rw-r--r--vcl/skia/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/skia/salbmp.cxx b/vcl/skia/salbmp.cxx
index de49400cd481..1e5c554b49f2 100644
--- a/vcl/skia/salbmp.cxx
+++ b/vcl/skia/salbmp.cxx
@@ -86,7 +86,7 @@ bool SkiaSalBitmap::Create(const Size& rSize, sal_uInt16 nBitCount, const Bitmap
#ifdef DBG_UTIL
// fill with random garbage
sal_uInt8* buffer = static_cast<sal_uInt8*>(mBitmap.getPixels());
- size_t size = mBitmap.rowBytes() & mBitmap.height();
+ size_t size = mBitmap.rowBytes() * mBitmap.height();
for (size_t i = 0; i < size; i++)
buffer[i] = (i & 0xFF);
#endif