diff options
Diffstat (limited to 'vcl/source/gdi/pngwrite.cxx')
-rw-r--r-- | vcl/source/gdi/pngwrite.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx index bb0ee05d0f37..ab15754724f4 100644 --- a/vcl/source/gdi/pngwrite.cxx +++ b/vcl/source/gdi/pngwrite.cxx @@ -347,7 +347,7 @@ void PNGWriterImpl::ImplWriteTransparent() ImplOpenChunk(PNGCHUNK_tRNS); - for (sal_uLong n = 0UL; n <= nTransIndex; n++) + for (sal_uLong n = 0; n <= nTransIndex; n++) { ImplWriteChunk((nTransIndex == n) ? static_cast<sal_uInt8>(0x0) : static_cast<sal_uInt8>(0xff)); } |