diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 09:50:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 09:50:35 +0000 |
commit | a89295a88f53bb29939380c9e1d1ba37972111c6 (patch) | |
tree | b6fbf98a98ffaea42c8ea4473e9752c62914aeac /vcl/source/gdi/bitmap2.cxx | |
parent | 6056b73a754398174430bac3d07501bf97f08af0 (diff) |
cppcheck: silence bogus warning
Diffstat (limited to 'vcl/source/gdi/bitmap2.cxx')
-rw-r--r-- | vcl/source/gdi/bitmap2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap2.cxx b/vcl/source/gdi/bitmap2.cxx index e11671e0f2c6..6add986538f5 100644 --- a/vcl/source/gdi/bitmap2.cxx +++ b/vcl/source/gdi/bitmap2.cxx @@ -216,7 +216,8 @@ BOOL Bitmap::ImplReadDIB( SvStream& rIStm, Bitmap& rBmp, ULONG nOffset, BOOL bIs // set decoded bytes to memory stream, // from which we will read the bitmap data - pIStm = pMemStm = new SvMemoryStream; + pMemStm = new SvMemoryStream; + pIStm = pMemStm; pMemStm->SetBuffer( (char*) pData, nUncodedSize, FALSE, nUncodedSize ); nOffset = 0; } |