diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-05 15:54:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-06 20:53:01 +0200 |
commit | 81f6842a7d03f5b93ddcece64ef252cc9adf4350 (patch) | |
tree | 47d56a1475c11f28664266654e19709422bfa12b /vcl/headless/svpgdi.cxx | |
parent | f8cf0d2cb4e5e18f48d6b3bfbc7d0e72e7ed5190 (diff) |
clang-tidy:readability-redundant-member-init
Change-Id: I51f4e8affac41023110042b534a915f096ccd0c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121692
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index a80a1317487f..5126abb19385 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -357,8 +357,7 @@ namespace public: explicit SurfaceHelper() - : pSurface(nullptr), - maDownscaled() + : pSurface(nullptr) { } ~SurfaceHelper() @@ -398,11 +397,9 @@ namespace explicit BitmapHelper( const SalBitmap& rSourceBitmap, const bool bForceARGB32 = false) - : SurfaceHelper(), #ifdef HAVE_CAIRO_FORMAT_RGB24_888 - m_bForceARGB32(bForceARGB32), + : m_bForceARGB32(bForceARGB32) #endif - aTmpBmp() { const SvpSalBitmap& rSrcBmp = static_cast<const SvpSalBitmap&>(rSourceBitmap); #ifdef HAVE_CAIRO_FORMAT_RGB24_888 @@ -513,8 +510,6 @@ namespace public: explicit MaskHelper(const SalBitmap& rAlphaBitmap) - : SurfaceHelper(), - pAlphaBits() { const SvpSalBitmap& rMask = static_cast<const SvpSalBitmap&>(rAlphaBitmap); const BitmapBuffer* pMaskBuf = rMask.GetBuffer(); @@ -1417,8 +1412,7 @@ SystemDependentData_CairoPath::SystemDependentData_CairoPath( : basegfx::SystemDependentData(rSystemDependentDataManager), mpCairoPath(nullptr), mbNoJoin(bNoJoin), - mbAntiAlias(bAntiAlias), - maStroke() + mbAntiAlias(bAntiAlias) { // tdf#129845 only create a copy of the path when nSizeMeasure is // bigger than some decent threshold |