summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-31 14:54:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-31 17:28:58 +0200
commit8508873a24387fefacd95e11e2ed9f2a0027ad43 (patch)
tree310b45d233bc50aeb5dffb0fd2ba01c05f544e82 /filter
parent7955fe46e226d74732993454e18be6835659c11c (diff)
clang-tidy:readability-redundant-member-init
Change-Id: Icaef0cca9ca7bce76a7eb7ecd54c492f9ffcaad6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121376 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/basecontainer.cxx1
-rw-r--r--filter/source/config/cache/cacheitem.cxx1
-rw-r--r--filter/source/msfilter/escherex.cxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx1
-rw-r--r--filter/source/msfilter/svdfppt.cxx1
-rw-r--r--filter/source/pdf/impdialog.cxx1
-rw-r--r--filter/source/svg/svgfilter.cxx9
-rw-r--r--filter/source/svg/svgwriter.cxx13
8 files changed, 3 insertions, 26 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index 023afd29415a..10dd76d82d3e 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -34,7 +34,6 @@ namespace filter::config{
BaseContainer::BaseContainer()
: BaseLock ( )
- , m_pFlushCache()
, m_eType()
, m_lListener (m_aLock)
{
diff --git a/filter/source/config/cache/cacheitem.cxx b/filter/source/config/cache/cacheitem.cxx
index fd8af23fe3ce..a406b16ff130 100644
--- a/filter/source/config/cache/cacheitem.cxx
+++ b/filter/source/config/cache/cacheitem.cxx
@@ -33,7 +33,6 @@
namespace filter::config{
CacheItem::CacheItem()
- : SequenceAsHashMap()
{
}
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 240e3146eea3..865df7c292b4 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -4853,7 +4853,7 @@ protected:
virtual void FlushData() override {}
public:
- SvNullStream() : SvStream() {}
+ SvNullStream() {}
};
}
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 0fde06b7e7af..dc03c9355261 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -7425,7 +7425,6 @@ SvxMSDffImportRec::SvxMSDffImportRec()
nCropFromBottom( 0 ),
nCropFromLeft( 0 ),
nCropFromRight( 0 ),
- aTextId(),
nNextShapeId( 0 ),
nShapeId( 0 ),
eShapeType( mso_sptNil ),
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 0d59afdc132f..15e70779e868 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -4460,7 +4460,6 @@ PPTParaPropSet& PPTParaPropSet::operator=( const PPTParaPropSet& rParaPropSet )
PPTCharPropSet::PPTCharPropSet(sal_uInt32 nParagraph)
: mnOriginalTextPos(0)
, mnParagraph(nParagraph)
- , mpImplPPTCharPropSet()
{
mnHylinkOrigColor = 0;
mbIsHyperlink = false;
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 0e5a4441907e..ca46732cc174 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -1505,7 +1505,6 @@ IMPL_LINK_NOARG(ImplErrorDialog, SelectHdl, weld::TreeView&, void)
/// The digital signatures tab page
ImpPDFTabSigningPage::ImpPDFTabSigningPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet)
: SfxTabPage(pPage, pController, "filter/ui/pdfsignpage.ui", "PdfSignPage", &rCoreSet)
- , maSignCertificate()
, mxEdSignCert(m_xBuilder->weld_entry("cert"))
, mxPbSignCertSelect(m_xBuilder->weld_button("select"))
, mxPbSignCertClear(m_xBuilder->weld_button("clear"))
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx
index d8a40437040c..2843e7df9637 100644
--- a/filter/source/svg/svgfilter.cxx
+++ b/filter/source/svg/svgfilter.cxx
@@ -75,18 +75,12 @@ SVGFilter::SVGFilter( const Reference< XComponentContext >& rxCtx ) :
mbSinglePage( false ),
mnVisiblePage( -1 ),
mpObjects( nullptr ),
- mxSrcDoc(),
- mxDstDoc(),
- maShapeSelection(),
mbExportShapeSelection(false),
- maFilterData(),
- mxDefaultPage(),
mbWriterFilter(false),
mbCalcFilter(false),
mbImpressFilter(false),
mpDefaultSdrPage( nullptr ),
- mbPresentation( false ),
- maOldFieldHdl()
+ mbPresentation( false )
{
}
@@ -721,7 +715,6 @@ public:
SVGFileInfo(
const uno::Reference<io::XInputStream>& xInput)
: mxInput(xInput),
- mnFirstBytes(),
mnFirstBytesSize(2048),
mnFirstRead(0),
mbProcessed(false),
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 05d18bc3675c..082d7d8b0377 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -463,12 +463,6 @@ SVGTextWriter::SVGTextWriter(SVGExport& rExport, SVGAttributeWriter& rAttributeW
mrActionWriter(rActionWriter),
mpVDev( nullptr ),
mbIsTextShapeStarted( false ),
- mrTextShape(),
- msShapeId(),
- mrParagraphEnumeration(),
- mrCurrentTextParagraph(),
- mrTextPortionEnumeration(),
- mrCurrentTextPortion(),
mpTextEmbeddedBitmapMtf( nullptr ),
mpTargetMapMode( nullptr ),
mnLeftTextPortionLength( 0 ),
@@ -478,14 +472,10 @@ SVGTextWriter::SVGTextWriter(SVGExport& rExport, SVGAttributeWriter& rAttributeW
mbIsNewListItem( false ),
meNumberingType(0),
mcBulletChar(0),
- maBulletListItemMap(),
mbIsListLevelStyleImage( false ),
mbLineBreak( false ),
mbIsURLField( false ),
- msUrl(),
- mbIsPlaceholderShape( false ),
- maCurrentFont(),
- maParentFont()
+ mbIsPlaceholderShape( false )
{
}
@@ -1786,7 +1776,6 @@ SVGActionWriter::SVGActionWriter( SVGExport& rExport, SVGFontExport& rFontExport
mnCurMaskId( 1 ),
mnCurPatternId( 1 ),
mnCurClipPathId( 1 ),
- mpCurrentClipRegionElem(),
mrExport( rExport ),
maContextHandler(),
mrCurrentState( maContextHandler.getCurrentState() ),