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 --- vcl/qa/cppunit/canvasbitmaptest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/qa') diff --git a/vcl/qa/cppunit/canvasbitmaptest.cxx b/vcl/qa/cppunit/canvasbitmaptest.cxx index d15508f9994c..54faf897b807 100644 --- a/vcl/qa/cppunit/canvasbitmaptest.cxx +++ b/vcl/qa/cppunit/canvasbitmaptest.cxx @@ -778,7 +778,7 @@ void CanvasBitmapTest::runTest() CPPUNIT_ASSERT_MESSAGE("(9,2) incorrect content", pBmpAcc->GetPixel(2,9) == BitmapColor(9)); - aBmp.GetBitmap().ReleaseAccess(pBmpAcc); + Bitmap::ReleaseAccess(pBmpAcc); } xTestBmp.set( new TestBitmap( geometry::IntegerSize2D(10,10), false )); @@ -815,7 +815,7 @@ void CanvasBitmapTest::runTest() pAlphaAcc->GetPixel(2,9) == BitmapColor(253)); aBmp.GetAlpha().ReleaseAccess(pAlphaAcc); - aBmp.GetBitmap().ReleaseAccess(pBmpAcc); + Bitmap::ReleaseAccess(pBmpAcc); } } -- cgit