From 4511431fb665dac192008fa063e783d9e8d7ed15 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Jan 2017 16:27:14 +0200 Subject: improve "unnecessary user-declared destructor" check to look for inline&empty destructors, where we can just let the compiler do it's thing Change-Id: Ibde8800bdfed6b77649c30ebc19921167c33dec3 Reviewed-on: https://gerrit.libreoffice.org/32999 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/basegfx/raster/bpixelraster.hxx | 4 ---- include/basegfx/raster/bzpixelraster.hxx | 4 ---- 2 files changed, 8 deletions(-) (limited to 'include/basegfx') diff --git a/include/basegfx/raster/bpixelraster.hxx b/include/basegfx/raster/bpixelraster.hxx index 46ef649b9a7e..491f88e75543 100644 --- a/include/basegfx/raster/bpixelraster.hxx +++ b/include/basegfx/raster/bpixelraster.hxx @@ -57,10 +57,6 @@ namespace basegfx reset(); } - ~BPixelRaster() - { - } - // coordinate calcs between X/Y and span sal_uInt32 getIndexFromXY(sal_uInt32 nX, sal_uInt32 nY) const { return (nX + (nY * mnWidth)); } diff --git a/include/basegfx/raster/bzpixelraster.hxx b/include/basegfx/raster/bzpixelraster.hxx index 3e0d51b99d38..e48f32fbb686 100644 --- a/include/basegfx/raster/bzpixelraster.hxx +++ b/include/basegfx/raster/bzpixelraster.hxx @@ -41,10 +41,6 @@ namespace basegfx memset(mpZBuffer.get(), 0, sizeof(sal_uInt16) * mnCount); } - ~BZPixelRaster() - { - } - // data access read only const sal_uInt16& getZ(sal_uInt32 nIndex) const { -- cgit