diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-01 16:23:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-02 09:38:29 +0200 |
commit | e9cb5577f4c1be0f59863ec5ccb68e8794a2f117 (patch) | |
tree | 9a84237851499e829442ed322ba050189943ce21 /forms | |
parent | 1a18cafecb06a76e872f5f1a9434160ea8ffd881 (diff) |
loplugin:staticmethods
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/imgprod.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index 3e53fdf6f4bd..913a0a747678 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -426,7 +426,7 @@ void ImageProducer::ImplInitConsumer( const Graphic& rGraphic ) (*iter)->setColorModel( pBmpAcc->GetBitCount(),aRGBPal, nRMask, nGMask, nBMask, nAMask ); } - aBmp.ReleaseAccess( pBmpAcc ); + Bitmap::ReleaseAccess( pBmpAcc ); mbConsInit = true; } } @@ -534,8 +534,8 @@ void ImageProducer::ImplUpdateConsumer( const Graphic& rGraphic ) (*iter)->setPixelsByLongs( nStartX, nStartY, nPartWidth, nPartHeight, aData, 0UL, nPartWidth ); } - aBmp.ReleaseAccess( pBmpAcc ); - aMask.ReleaseAccess( pMskAcc ); + Bitmap::ReleaseAccess( pBmpAcc ); + Bitmap::ReleaseAccess( pMskAcc ); } } |