diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-12 16:27:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-27 09:49:04 +0000 |
commit | 4511431fb665dac192008fa063e783d9e8d7ed15 (patch) | |
tree | 3e68fac05e24f2f5bd7f2deed9a32288d7ddf64a /include/basegfx | |
parent | 1a90a23d9fdcc4344f459b183bbafb8ba7b5bcc0 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/raster/bpixelraster.hxx | 4 | ||||
-rw-r--r-- | include/basegfx/raster/bzpixelraster.hxx | 4 |
2 files changed, 0 insertions, 8 deletions
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 { |