summaryrefslogtreecommitdiff
path: root/vcl/source/filter/png/PngImageReader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/png/PngImageReader.cxx')
-rw-r--r--vcl/source/filter/png/PngImageReader.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/filter/png/PngImageReader.cxx b/vcl/source/filter/png/PngImageReader.cxx
index 898ef74d5836..ff2d8b0a47a0 100644
--- a/vcl/source/filter/png/PngImageReader.cxx
+++ b/vcl/source/filter/png/PngImageReader.cxx
@@ -351,7 +351,6 @@ bool reader(SvStream& rStream, BitmapEx& rBitmapEx,
}
else if (colorType == PNG_COLOR_TYPE_GRAY)
{
- aBitmap.Erase(COL_WHITE);
for (int pass = 0; pass < nNumberOfPasses; pass++)
{
for (png_uint_32 y = 0; y < height; y++)