summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pngread.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-01 16:23:59 +0200
committerNoel Grandin <noel@peralex.com>2015-04-02 09:38:29 +0200
commite9cb5577f4c1be0f59863ec5ccb68e8794a2f117 (patch)
tree9a84237851499e829442ed322ba050189943ce21 /vcl/source/gdi/pngread.cxx
parent1a18cafecb06a76e872f5f1a9434160ea8ffd881 (diff)
loplugin:staticmethods
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
Diffstat (limited to 'vcl/source/gdi/pngread.cxx')
-rw-r--r--vcl/source/gdi/pngread.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 519a27851099..fe275146ee35 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -424,14 +424,14 @@ BitmapEx PNGReaderImpl::GetBitmapEx( const Size& rPreviewSizeHint )
// release write access of the bitmaps
if ( mpAcc )
- mpBmp->ReleaseAccess( mpAcc ), mpAcc = NULL;
+ Bitmap::ReleaseAccess( mpAcc ), mpAcc = NULL;
if ( mpMaskAcc )
{
if ( mpAlphaMask )
mpAlphaMask->ReleaseAccess( mpMaskAcc );
else if ( mpMaskBmp )
- mpMaskBmp->ReleaseAccess( mpMaskAcc );
+ Bitmap::ReleaseAccess( mpMaskAcc );
mpMaskAcc = NULL;
}