From e9cb5577f4c1be0f59863ec5ccb68e8794a2f117 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Apr 2015 16:23:59 +0200 Subject: loplugin:staticmethods Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca --- forms/source/component/imgprod.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'forms') 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 ); } } -- cgit