From 776a1b9b6b9c574d28b3a321a0f3f8110f34ac90 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 2 Sep 2021 09:12:41 +0200 Subject: clang-tidy:readability-redundant-member-init Change-Id: I0a9b238c0ba551b330bee7b89eb6cd48fad1b265 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121488 Tested-by: Jenkins Reviewed-by: Noel Grandin --- .../presenter/PresenterPaneBorderPainter.cxx | 28 ++++------------------ 1 file changed, 4 insertions(+), 24 deletions(-) (limited to 'sdext/source/presenter/PresenterPaneBorderPainter.cxx') diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.cxx b/sdext/source/presenter/PresenterPaneBorderPainter.cxx index 53d60faa2315..8fcc2a61ba30 100644 --- a/sdext/source/presenter/PresenterPaneBorderPainter.cxx +++ b/sdext/source/presenter/PresenterPaneBorderPainter.cxx @@ -145,9 +145,7 @@ private: PresenterPaneBorderPainter::PresenterPaneBorderPainter ( const Reference& rxContext) : PresenterPaneBorderPainterInterfaceBase(m_aMutex), - mxContext(rxContext), - mpTheme(), - mpRenderer() + mxContext(rxContext) { } @@ -368,13 +366,8 @@ PresenterPaneBorderPainter::Renderer::Renderer ( const Reference& rxContext, const std::shared_ptr& rpTheme) : mpTheme(rpTheme), - maRendererPaneStyles(), - mxCanvas(), - mxPresenterHelper(), maViewState(geometry::AffineMatrix2D(1,0,0, 0,1,0), nullptr), - mxViewStateClip(), - mbHasCallout(false), - maCalloutAnchor() + mbHasCallout(false) { Reference xFactory (rxContext->getServiceManager()); if (xFactory.is()) @@ -736,23 +729,10 @@ BorderSize::BorderSize() RendererPaneStyle::RendererPaneStyle ( const std::shared_ptr& rpTheme, const OUString& rsStyleName) - : mpTopLeft(), - mpTop(), - mpTopRight(), - mpLeft(), - mpRight(), - mpBottomLeft(), - mpBottom(), - mpBottomRight(), - mpBottomCallout(), - mpEmpty(std::make_shared()), - mpFont(), + : mpEmpty(std::make_shared()), mnFontXOffset(0), mnFontYOffset(0), - meFontAnchor(Anchor::Center), - maInnerBorderSize(), - maOuterBorderSize(), - maTotalBorderSize() + meFontAnchor(Anchor::Center) { if (rpTheme == nullptr) return; -- cgit