summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneBorderPainter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-02 09:12:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-02 12:29:23 +0200
commit776a1b9b6b9c574d28b3a321a0f3f8110f34ac90 (patch)
tree5daf8ccb90a0a6e2781d0795522299ef6ecdc8f7 /sdext/source/presenter/PresenterPaneBorderPainter.cxx
parentd241107b21e5d2bef3cbc408b020a0c8567b9e15 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBorderPainter.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneBorderPainter.cxx28
1 files changed, 4 insertions, 24 deletions
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<XComponentContext>& rxContext)
: PresenterPaneBorderPainterInterfaceBase(m_aMutex),
- mxContext(rxContext),
- mpTheme(),
- mpRenderer()
+ mxContext(rxContext)
{
}
@@ -368,13 +366,8 @@ PresenterPaneBorderPainter::Renderer::Renderer (
const Reference<XComponentContext>& rxContext,
const std::shared_ptr<PresenterTheme>& rpTheme)
: mpTheme(rpTheme),
- maRendererPaneStyles(),
- mxCanvas(),
- mxPresenterHelper(),
maViewState(geometry::AffineMatrix2D(1,0,0, 0,1,0), nullptr),
- mxViewStateClip(),
- mbHasCallout(false),
- maCalloutAnchor()
+ mbHasCallout(false)
{
Reference<lang::XMultiComponentFactory> xFactory (rxContext->getServiceManager());
if (xFactory.is())
@@ -736,23 +729,10 @@ BorderSize::BorderSize()
RendererPaneStyle::RendererPaneStyle (
const std::shared_ptr<PresenterTheme>& rpTheme,
const OUString& rsStyleName)
- : mpTopLeft(),
- mpTop(),
- mpTopRight(),
- mpLeft(),
- mpRight(),
- mpBottomLeft(),
- mpBottom(),
- mpBottomRight(),
- mpBottomCallout(),
- mpEmpty(std::make_shared<PresenterBitmapDescriptor>()),
- mpFont(),
+ : mpEmpty(std::make_shared<PresenterBitmapDescriptor>()),
mnFontXOffset(0),
mnFontYOffset(0),
- meFontAnchor(Anchor::Center),
- maInnerBorderSize(),
- maOuterBorderSize(),
- maTotalBorderSize()
+ meFontAnchor(Anchor::Center)
{
if (rpTheme == nullptr)
return;