diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 11:16:07 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-17 12:26:32 +0000 |
commit | d9e627039245dc42f003a7cf75642f619a621513 (patch) | |
tree | d10188cbdf0808f4c4c6663025e15bd4bac47284 /vcl/qa | |
parent | be3d2309f0376914b0135046f95b0bb592cf5078 (diff) |
loplugin:unnecessaryvirtual
update the plugin with lessons learned from the mergeclasses plugin and
re-run it
Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711
Reviewed-on: https://gerrit.libreoffice.org/20015
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/qa')
-rw-r--r-- | vcl/qa/cppunit/BitmapFilterTest.cxx | 2 | ||||
-rw-r--r-- | vcl/qa/cppunit/BitmapTest.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/BitmapFilterTest.cxx b/vcl/qa/cppunit/BitmapFilterTest.cxx index e0cf3ef1ca8a..ade5acbc6271 100644 --- a/vcl/qa/cppunit/BitmapFilterTest.cxx +++ b/vcl/qa/cppunit/BitmapFilterTest.cxx @@ -109,7 +109,7 @@ void BitmapFilterTest::testBlurCorrectness() // Check that the bitmap is horizontally and vertically symmetrical BitmapSymmetryCheck symmetryCheck; - CPPUNIT_ASSERT(symmetryCheck.check(aBitmap24Bit)); + CPPUNIT_ASSERT(BitmapSymmetryCheck::check(aBitmap24Bit)); { Bitmap::ScopedReadAccess aReadAccess(aBitmap24Bit); diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx index b0c234b3bbb8..c20c12b9926b 100644 --- a/vcl/qa/cppunit/BitmapTest.cxx +++ b/vcl/qa/cppunit/BitmapTest.cxx @@ -121,7 +121,7 @@ void BitmapTest::testScale() CPPUNIT_ASSERT_EQUAL(static_cast<long>(10), aBitmap24Bit.GetSizePixel().Height()); // Check symmetry of the bitmap - CPPUNIT_ASSERT(aBitmapSymmetryCheck.check(aBitmap24Bit)); + CPPUNIT_ASSERT(BitmapSymmetryCheck::check(aBitmap24Bit)); if (bExportBitmap) { @@ -137,7 +137,7 @@ void BitmapTest::testScale() // After scaling the bitmap should still be symmetrical. This check guarantees that // scaling doesn't misalign the bitmap. - CPPUNIT_ASSERT(aBitmapSymmetryCheck.check(aBitmap24Bit)); + CPPUNIT_ASSERT(BitmapSymmetryCheck::check(aBitmap24Bit)); if (bExportBitmap) { |