[Libreoffice-commits] core.git: sc/inc sc/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 1 12:34:58 UTC 2021


 sc/inc/viewopti.hxx                                    |    2 -
 sc/source/core/data/colorscale.cxx                     |    1 
 sc/source/core/data/dociter.cxx                        |    6 +---
 sc/source/core/data/edittextiterator.cxx               |    1 
 sc/source/core/data/formulacell.cxx                    |    1 
 sc/source/core/data/listenercontext.cxx                |    4 +--
 sc/source/core/data/markdata.cxx                       |    1 
 sc/source/core/data/table3.cxx                         |    3 --
 sc/source/core/opencl/formulagroupcl.cxx               |    3 --
 sc/source/core/tool/adiasync.cxx                       |    1 
 sc/source/core/tool/autoform.cxx                       |    7 -----
 sc/source/core/tool/chartlis.cxx                       |    2 -
 sc/source/core/tool/queryparam.cxx                     |    6 ----
 sc/source/core/tool/rangelst.cxx                       |    1 
 sc/source/core/tool/token.cxx                          |    2 -
 sc/source/filter/excel/xecontent.cxx                   |    5 ---
 sc/source/filter/lotus/lotus.cxx                       |    1 
 sc/source/filter/oox/formulabase.cxx                   |    1 
 sc/source/filter/oox/workbookfragment.cxx              |    2 -
 sc/source/filter/xcl97/XclExpChangeTrack.cxx           |    1 
 sc/source/filter/xcl97/XclImpChangeTrack.cxx           |    1 
 sc/source/filter/xcl97/xcl97rec.cxx                    |    1 
 sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx |   10 +------
 sc/source/filter/xml/XMLColumnRowGroupExport.cxx       |    4 ---
 sc/source/filter/xml/XMLDDELinksContext.cxx            |    6 ----
 sc/source/filter/xml/XMLDetectiveContext.cxx           |    3 --
 sc/source/filter/xml/XMLExportIterator.cxx             |   15 ++---------
 sc/source/filter/xml/XMLStylesExportHelper.cxx         |   22 ++---------------
 sc/source/filter/xml/XMLTableShapeResizer.cxx          |    1 
 sc/source/filter/xml/XMLTableSourceContext.cxx         |    4 ---
 sc/source/filter/xml/XMLTrackedChangesContext.cxx      |    1 
 sc/source/filter/xml/xmlbodyi.cxx                      |    1 
 sc/source/filter/xml/xmlcvali.cxx                      |    5 ---
 sc/source/filter/xml/xmldpimp.cxx                      |    3 --
 sc/source/filter/xml/xmldrani.cxx                      |    1 
 sc/source/filter/xml/xmlexprt.cxx                      |    1 
 sc/source/filter/xml/xmlfilti.cxx                      |    1 
 sc/source/filter/xml/xmlimprt.cxx                      |    2 -
 sc/source/filter/xml/xmlsorti.cxx                      |    1 
 sc/source/filter/xml/xmlstyle.cxx                      |    1 
 sc/source/filter/xml/xmlstyli.cxx                      |    1 
 sc/source/filter/xml/xmltabi.cxx                       |    2 -
 sc/source/ui/app/inputhdl.cxx                          |    3 --
 sc/source/ui/cctrl/tbzoomsliderctrl.cxx                |    5 ---
 sc/source/ui/docshell/impex.cxx                        |   12 +++------
 sc/source/ui/formdlg/formdata.cxx                      |    3 --
 sc/source/ui/miscdlgs/acredlin.cxx                     |    1 
 sc/source/ui/sidebar/AlignmentPropertyPanel.cxx        |    1 
 sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx   |    1 
 sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx     |    1 
 sc/source/ui/unoobj/cellsuno.cxx                       |    3 --
 sc/source/ui/unoobj/chart2uno.cxx                      |    1 
 sc/source/ui/vba/vbarange.cxx                          |    2 -
 sc/source/ui/view/cellsh1.cxx                          |    1 
 sc/source/ui/view/gridwin.cxx                          |   12 ---------
 sc/source/ui/view/pfuncache.cxx                        |    2 -
 sc/source/ui/view/preview.cxx                          |    2 -
 sc/source/ui/view/tabview.cxx                          |    1 
 58 files changed, 28 insertions(+), 161 deletions(-)

New commits:
commit 7a55297c50d26a19536c082760ec0acd52eabcfa
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Sep 1 09:12:21 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Sep 1 14:34:18 2021 +0200

    clang-tidy:readability-redundant-member-init
    
    Change-Id: I8553b1e2b1c3461fa55eb19593b1a97ed9e7ab1f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121433
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index 829fb451442c..79819e7ca324 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -65,7 +65,7 @@ enum ScVObjType
 class ScGridOptions : public SvxOptionsGrid
 {
 public:
-                ScGridOptions() : SvxOptionsGrid() {}
+                ScGridOptions()  {}
                 ScGridOptions( const SvxOptionsGrid& rOpt ) : SvxOptionsGrid( rOpt ) {}
 
     void                    SetDefaults();
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 52496653ab1b..8e6962175c87 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -182,7 +182,6 @@ ScColorScaleEntry::ScColorScaleEntry(const ScColorScaleEntry& rEntry):
 
 ScColorScaleEntry::ScColorScaleEntry(ScDocument* pDoc, const ScColorScaleEntry& rEntry):
     mnVal(rEntry.mnVal),
-    mpCell(),
     mpFormat(rEntry.mpFormat),
     maColor(rEntry.maColor),
     meType(rEntry.meType)
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 8b2020d196e0..1a0f8b645382 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -348,8 +348,7 @@ bool ScDBQueryDataIterator::IsQueryValid(
 }
 
 ScDBQueryDataIterator::DataAccessInternal::DataAccessInternal(ScDBQueryParamInternal* pParam, ScDocument& rDoc, const ScInterpreterContext& rContext)
-    : DataAccess()
-    , mpCells(nullptr)
+    : mpCells(nullptr)
     , mpParam(pParam)
     , mrDoc(rDoc)
     , mrContext(rContext)
@@ -529,8 +528,7 @@ void ScDBQueryDataIterator::DataAccessInternal::incPos()
 }
 
 ScDBQueryDataIterator::DataAccessMatrix::DataAccessMatrix(ScDBQueryParamMatrix* pParam)
-    : DataAccess()
-    , mpParam(pParam)
+    : mpParam(pParam)
     , mnCurRow(0)
 {
     SCSIZE nC, nR;
diff --git a/sc/source/core/data/edittextiterator.cxx b/sc/source/core/data/edittextiterator.cxx
index ba913258729c..bdf7c9934161 100644
--- a/sc/source/core/data/edittextiterator.cxx
+++ b/sc/source/core/data/edittextiterator.cxx
@@ -18,7 +18,6 @@ EditTextIterator::EditTextIterator( const ScDocument& rDoc, SCTAB nTab ) :
     mrTable(*rDoc.maTabs.at(nTab)),
     mnCol(0),
     mpCells(nullptr),
-    maPos(sc::CellStoreType::const_position_type()),
     miEnd(maPos.first)
 {
     init();
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 72bff251acca..7304ca033acd 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -802,7 +802,6 @@ ScFormulaCell::ScFormulaCell(
 }
 
 ScFormulaCell::ScFormulaCell(const ScFormulaCell& rCell, ScDocument& rDoc, const ScAddress& rPos, ScCloneFlags nCloneFlags) :
-    SvtListener(),
     bDirty( rCell.bDirty ),
     bTableOpDirty( false ),
     bChanged( rCell.bChanged ),
diff --git a/sc/source/core/data/listenercontext.cxx b/sc/source/core/data/listenercontext.cxx
index e247026a5f7e..d0eba36e0381 100644
--- a/sc/source/core/data/listenercontext.cxx
+++ b/sc/source/core/data/listenercontext.cxx
@@ -36,12 +36,12 @@ ColumnBlockPosition* StartListeningContext::getBlockPosition(SCTAB nTab, SCCOL n
 }
 
 EndListeningContext::EndListeningContext(ScDocument& rDoc, ScTokenArray* pOldCode) :
-    mrDoc(rDoc), maSet(), mpPosSet(std::make_shared<ColumnBlockPositionSet>(rDoc)),
+    mrDoc(rDoc),  mpPosSet(std::make_shared<ColumnBlockPositionSet>(rDoc)),
     mpOldCode(pOldCode), maPosDelta(0,0,0) {}
 
 EndListeningContext::EndListeningContext(
     ScDocument& rDoc, const std::shared_ptr<ColumnBlockPositionSet>& pSet, ScTokenArray* pOldCode) :
-    mrDoc(rDoc), maSet(), mpPosSet(pSet),
+    mrDoc(rDoc),  mpPosSet(pSet),
     mpOldCode(pOldCode), maPosDelta(0,0,0) {}
 
 void EndListeningContext::setPositionDelta( const ScAddress& rDelta )
diff --git a/sc/source/core/data/markdata.cxx b/sc/source/core/data/markdata.cxx
index 7b45c51ecbea..65d1375d4c23 100644
--- a/sc/source/core/data/markdata.cxx
+++ b/sc/source/core/data/markdata.cxx
@@ -36,7 +36,6 @@
 
 
 ScMarkData::ScMarkData(const ScSheetLimits& rSheetLimits) :
-    maTabMarked(),
     aMultiSel(rSheetLimits),
     mrSheetLimits(rSheetLimits)
 {
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index d6b5c1999788..b3470fc7d286 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -245,7 +245,7 @@ public:
         std::vector<SdrObject*> maDrawObjects;
         const ScPatternAttr* mpPattern;
 
-        Cell() : mpAttr(nullptr), mpNote(nullptr), maDrawObjects(), mpPattern(nullptr) {}
+        Cell() : mpAttr(nullptr), mpNote(nullptr),  mpPattern(nullptr) {}
     };
 
     struct Row
@@ -553,7 +553,6 @@ struct SortedColumn
         maCellTextAttrs(nTopEmptyRows),
         maBroadcasters(nTopEmptyRows),
         maCellNotes(nTopEmptyRows),
-        maCellDrawObjects(),
         maPatterns(0, rSheetLimits.GetMaxRowCount(), nullptr),
         miPatternPos(maPatterns.begin()) {}
 
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 9058a42c948a..f9ce312976af 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -4138,8 +4138,7 @@ const DynamicKernelArgument* SymbolTable::DeclRefArg(const ScCalcConfig& config,
     }
 }
 
-FormulaGroupInterpreterOpenCL::FormulaGroupInterpreterOpenCL() :
-    FormulaGroupInterpreter() {}
+FormulaGroupInterpreterOpenCL::FormulaGroupInterpreterOpenCL() {}
 
 FormulaGroupInterpreterOpenCL::~FormulaGroupInterpreterOpenCL() {}
 
diff --git a/sc/source/core/tool/adiasync.cxx b/sc/source/core/tool/adiasync.cxx
index d8086e30c50d..d9822fee3b4f 100644
--- a/sc/source/core/tool/adiasync.cxx
+++ b/sc/source/core/tool/adiasync.cxx
@@ -39,7 +39,6 @@ void CALLTYPE ScAddInAsyncCallBack( double& nHandle, void* pData )
 }
 
 ScAddInAsync::ScAddInAsync(sal_uLong nHandleP, LegacyFuncData* pFuncData, ScDocument* pDoc) :
-    SvtBroadcaster(),
     pStr( nullptr ),
     mpFuncData(pFuncData),
     nHandle( nHandleP ),
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 7430eff33c91..20c18d1b3f93 100644
--- a/sc/source/core/tool/autoform.cxx
+++ b/sc/source/core/tool/autoform.cxx
@@ -126,8 +126,6 @@ namespace
 }
 
 ScAfVersions::ScAfVersions()
-:   AutoFormatVersions(),
-    swVersions()
 {
 }
 
@@ -154,9 +152,6 @@ void ScAfVersions::Write(SvStream& rStream, sal_uInt16 fileVersion)
 }
 
 ScAutoFormatDataField::ScAutoFormatDataField()
-:   AutoFormatBase(),
-    m_swFields(),
-    aNumFormat()
 {
     // need to set default instances for base class AutoFormatBase here
     // due to resource defines (e.g. ATTR_FONT) which are not available
@@ -195,7 +190,7 @@ ScAutoFormatDataField::ScAutoFormatDataField()
 
 ScAutoFormatDataField::ScAutoFormatDataField( const ScAutoFormatDataField& rCopy )
 :   AutoFormatBase(rCopy),
-    m_swFields(), // was not copied in original, needed?
+     // m_swFields was not copied in original, needed?
     aNumFormat( rCopy.aNumFormat )
 {
 }
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index c0ade58db760..a534a0d7b5b9 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -94,7 +94,6 @@ void ScChartListener::ExternalRefListener::removeFileId(sal_uInt16 nFileId)
 
 ScChartListener::ScChartListener( const OUString& rName, ScDocument& rDocP,
         const ScRangeListRef& rRangeList ) :
-    SvtListener(),
     mpTokens(new vector<ScTokenRef>),
     maName(rName),
     mrDoc( rDocP ),
@@ -105,7 +104,6 @@ ScChartListener::ScChartListener( const OUString& rName, ScDocument& rDocP,
 }
 
 ScChartListener::ScChartListener( const OUString& rName, ScDocument& rDocP, std::unique_ptr<vector<ScTokenRef>> pTokens ) :
-    SvtListener(),
     mpTokens(std::move(pTokens)),
     maName(rName),
     mrDoc( rDocP ),
diff --git a/sc/source/core/tool/queryparam.cxx b/sc/source/core/tool/queryparam.cxx
index 10d51a342e70..918bb0d5cdab 100644
--- a/sc/source/core/tool/queryparam.cxx
+++ b/sc/source/core/tool/queryparam.cxx
@@ -305,8 +305,6 @@ ScQueryParamTable::~ScQueryParamTable()
 }
 
 ScQueryParam::ScQueryParam() :
-    ScQueryParamBase(),
-    ScQueryParamTable(),
     bDestPers(true),
     nDestTab(0),
     nDestCol(0),
@@ -422,7 +420,6 @@ void ScQueryParam::MoveToDest()
 }
 
 ScDBQueryParamBase::ScDBQueryParamBase(DataType eType) :
-    ScQueryParamBase(),
     mnField(-1),
     mbSkipString(true),
     meType(eType)
@@ -434,8 +431,7 @@ ScDBQueryParamBase::~ScDBQueryParamBase()
 }
 
 ScDBQueryParamInternal::ScDBQueryParamInternal() :
-    ScDBQueryParamBase(ScDBQueryParamBase::INTERNAL),
-    ScQueryParamTable()
+    ScDBQueryParamBase(ScDBQueryParamBase::INTERNAL)
 {
 }
 
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index f87b5027319a..8b1059e3b15e 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -1052,7 +1052,6 @@ ScRangeList::ScRangeList( const ScRangeList& rList ) :
 }
 
 ScRangeList::ScRangeList(ScRangeList&& rList) noexcept :
-    SvRefBase(),
     maRanges(std::move(rList.maRanges)),
     mnMaxRowUsed(rList.mnMaxRowUsed)
 {
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index f17cd9ac27ad..6c4c80a8fb03 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1864,7 +1864,6 @@ bool ScTokenArray::IsValidReference( ScRange& rRange, const ScAddress& rPos ) co
 }
 
 ScTokenArray::ScTokenArray(const ScDocument& rDoc) :
-    FormulaTokenArray(),
     mxSheetLimits(&rDoc.GetSheetLimits()),
     mnHashValue(0)
 {
@@ -1872,7 +1871,6 @@ ScTokenArray::ScTokenArray(const ScDocument& rDoc) :
 }
 
 ScTokenArray::ScTokenArray(ScSheetLimits& rLimits) :
-    FormulaTokenArray(),
     mxSheetLimits(&rLimits),
     mnHashValue(0)
 {
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index 0a7a3baeb953..a4a2d87819e5 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -1176,7 +1176,6 @@ void XclExpDateFormat::SaveXml( XclExpXmlStream& rStrm )
 }
 
 XclExpCfvo::XclExpCfvo(const XclExpRoot& rRoot, const ScColorScaleEntry& rEntry, const ScAddress& rAddr, bool bFirst):
-    XclExpRecord(),
     XclExpRoot( rRoot ),
     mrEntry(rEntry),
     maSrcPos(rAddr),
@@ -1238,7 +1237,6 @@ void XclExpCfvo::SaveXml( XclExpXmlStream& rStrm )
 }
 
 XclExpColScaleCol::XclExpColScaleCol( const XclExpRoot& rRoot, const Color& rColor ):
-    XclExpRecord(),
     XclExpRoot( rRoot ),
     mrColor( rColor )
 {
@@ -1436,7 +1434,6 @@ void XclExpCondfmt::SaveXml( XclExpXmlStream& rStrm )
 }
 
 XclExpColorScale::XclExpColorScale( const XclExpRoot& rRoot, const ScColorScaleFormat& rFormat, sal_Int32 nPriority ):
-    XclExpRecord(),
     XclExpRoot( rRoot ),
     mnPriority( nPriority )
 {
@@ -1472,7 +1469,6 @@ void XclExpColorScale::SaveXml( XclExpXmlStream& rStrm )
 }
 
 XclExpDataBar::XclExpDataBar( const XclExpRoot& rRoot, const ScDataBarFormat& rFormat, sal_Int32 nPriority, const OString& rGUID):
-    XclExpRecord(),
     XclExpRoot( rRoot ),
     mrFormat( rFormat ),
     mnPriority( nPriority ),
@@ -1525,7 +1521,6 @@ void XclExpDataBar::SaveXml( XclExpXmlStream& rStrm )
 }
 
 XclExpIconSet::XclExpIconSet( const XclExpRoot& rRoot, const ScIconSetFormat& rFormat, sal_Int32 nPriority ):
-    XclExpRecord(),
     XclExpRoot( rRoot ),
     mrFormat( rFormat ),
     mnPriority( nPriority )
diff --git a/sc/source/filter/lotus/lotus.cxx b/sc/source/filter/lotus/lotus.cxx
index 2ddc7a5d28f9..c89717cb6884 100644
--- a/sc/source/filter/lotus/lotus.cxx
+++ b/sc/source/filter/lotus/lotus.cxx
@@ -86,7 +86,6 @@ LotusContext::LotusContext(ScDocument& rDocP, rtl_TextEncoding eQ)
     , bEOF(false)
     , eCharset(eQ)
     , rDoc(rDocP)
-    , maRangeNames()
     , eFirstType( Lotus123Typ::X)
     , eActType( Lotus123Typ::X)
     , pRngNmBffWK3( new RangeNameBufferWK3(rDocP) )
diff --git a/sc/source/filter/oox/formulabase.cxx b/sc/source/filter/oox/formulabase.cxx
index 9d009dd301fe..928023f7b7bc 100644
--- a/sc/source/filter/oox/formulabase.cxx
+++ b/sc/source/filter/oox/formulabase.cxx
@@ -126,7 +126,6 @@ void BinComplexRef2d::readBiff12Data( SequenceInputStream& rStrm, bool bRelative
 // token vector, sequence =====================================================
 
 ApiTokenVector::ApiTokenVector()
-    : mvTokens()
 {
 }
 
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx
index 7ad690674892..d703cef6580a 100644
--- a/sc/source/filter/oox/workbookfragment.cxx
+++ b/sc/source/filter/oox/workbookfragment.cxx
@@ -285,7 +285,7 @@ class ProgressBarTimer : private Timer
     };
     std::vector< ISegmentProgressBarRef > aSegments;
 public:
-    ProgressBarTimer() : Timer()
+    ProgressBarTimer()
     {
         SetTimeout( 500 );
     }
diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
index 225345836793..73480dc7c6dd 100644
--- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
@@ -1385,7 +1385,6 @@ void EndXmlElement::SaveXml( XclExpXmlStream& rStrm )
 
 XclExpChangeTrack::XclExpChangeTrack( const XclExpRoot& rRoot ) :
     XclExpRoot( rRoot ),
-    aActionStack(),
     pTabIdBuffer( nullptr )
 {
     OSL_ENSURE( GetOldRoot().pTabId, "XclExpChangeTrack::XclExpChangeTrack - root data incomplete" );
diff --git a/sc/source/filter/xcl97/XclImpChangeTrack.cxx b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
index 1e8678bb8a51..7c183da240a5 100644
--- a/sc/source/filter/xcl97/XclImpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
@@ -37,7 +37,6 @@
 XclImpChangeTrack::XclImpChangeTrack( const XclImpRoot& rRoot, const XclImpStream& rBookStrm ) :
     XclImpRoot( rRoot ),
     aRecHeader(),
-    sOldUsername(),
     nTabIdCount( 0 ),
     bGlobExit( false ),
     eNestedMode( nmBase )
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index bdc3648d7584..903d5b5a5be8 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -1363,7 +1363,6 @@ ExcBundlesheet8::ExcBundlesheet8( const RootData& rRootData, SCTAB _nTab ) :
 }
 
 ExcBundlesheet8::ExcBundlesheet8( const OUString& rString ) :
-    ExcBundlesheetBase(),
     sUnicodeName( rString )
 {
 }
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
index 888dec30baad..e8090e02366e 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
@@ -78,9 +78,7 @@ const ScCellValue& ScMyCellInfo::CreateCell(ScDocument& rDoc)
 }
 
 ScMyBaseAction::ScMyBaseAction(const ScChangeActionType nTempActionType)
-    : aDependencies(),
-    aDeletedList(),
-    nActionNumber(0),
+    : nActionNumber(0),
     nRejectingNumber(0),
     nPreviousAction(0),
     nActionType(nTempActionType),
@@ -103,8 +101,6 @@ ScMyInsAction::~ScMyInsAction()
 
 ScMyDelAction::ScMyDelAction(const ScChangeActionType nActionTypeP)
     : ScMyBaseAction(nActionTypeP),
-    aGeneratedList(),
-    aMoveCutOffs(),
     nD(0)
 {
 }
@@ -114,8 +110,7 @@ ScMyDelAction::~ScMyDelAction()
 }
 
 ScMyMoveAction::ScMyMoveAction()
-    : ScMyBaseAction(SC_CAT_MOVE),
-    aGeneratedList()
+    : ScMyBaseAction(SC_CAT_MOVE)
 {
 }
 
@@ -142,7 +137,6 @@ ScMyRejAction::~ScMyRejAction()
 }
 
 ScXMLChangeTrackingImportHelper::ScXMLChangeTrackingImportHelper() :
-    aActions(),
     pTrack(nullptr),
     nMultiSpanned(0),
     nMultiSpannedSlaveCount(0)
diff --git a/sc/source/filter/xml/XMLColumnRowGroupExport.cxx b/sc/source/filter/xml/XMLColumnRowGroupExport.cxx
index efa05a38cc19..55907616a642 100644
--- a/sc/source/filter/xml/XMLColumnRowGroupExport.cxx
+++ b/sc/source/filter/xml/XMLColumnRowGroupExport.cxx
@@ -47,9 +47,7 @@ bool ScMyColumnRowGroup::operator<(const ScMyColumnRowGroup& rGroup) const
 
 ScMyOpenCloseColumnRowGroup::ScMyOpenCloseColumnRowGroup(ScXMLExport& rTempExport, sal_uInt32 nToken)
     : rExport(rTempExport),
-    rName(rExport.GetNamespaceMap().GetQNameByKey(XML_NAMESPACE_TABLE, GetXMLToken(XMLTokenEnum(nToken)))),
-    aTableStart(),
-    aTableEnd()
+    rName(rExport.GetNamespaceMap().GetQNameByKey(XML_NAMESPACE_TABLE, GetXMLToken(XMLTokenEnum(nToken))))
 {
 }
 
diff --git a/sc/source/filter/xml/XMLDDELinksContext.cxx b/sc/source/filter/xml/XMLDDELinksContext.cxx
index e06992efbc2a..a44308da5dd6 100644
--- a/sc/source/filter/xml/XMLDDELinksContext.cxx
+++ b/sc/source/filter/xml/XMLDDELinksContext.cxx
@@ -55,11 +55,6 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL ScXMLDDELinksContext::c
 
 ScXMLDDELinkContext::ScXMLDDELinkContext( ScXMLImport& rImport ) :
     ScXMLImportContext( rImport ),
-    aDDELinkTable(),
-    aDDELinkRow(),
-    sApplication(),
-    sTopic(),
-    sItem(),
     nPosition(-1),
     nColumns(0),
     nRows(0),
@@ -311,7 +306,6 @@ ScXMLDDECellContext::ScXMLDDECellContext( ScXMLImport& rImport,
                                       const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList,
                                       ScXMLDDELinkContext* pTempDDELink) :
     ScXMLImportContext( rImport ),
-    sValue(),
     fValue(),
     nCells(1),
     bString(true),
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx
index 65ba610ccf5e..9c6c7cbbec7b 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.cxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.cxx
@@ -30,7 +30,6 @@ using namespace ::com::sun::star;
 using namespace xmloff::token;
 
 ScMyImpDetectiveObj::ScMyImpDetectiveObj() :
-    aSourceRange(),
     eObjType( SC_DETOBJ_NONE ),
     bHasError( false )
 {
@@ -94,7 +93,6 @@ ScXMLDetectiveHighlightedContext::ScXMLDetectiveHighlightedContext(
         ScMyImpDetectiveObjVec* pNewDetectiveObjVec ):
     ScXMLImportContext( rImport ),
     pDetectiveObjVec( pNewDetectiveObjVec ),
-    aDetectiveObj(),
     bValid( false )
 {
     if ( !rAttrList.is() )
@@ -155,7 +153,6 @@ ScXMLDetectiveOperationContext::ScXMLDetectiveOperationContext(
         ScXMLImport& rImport,
         const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList ) :
     ScXMLImportContext( rImport ),
-    aDetectiveOp(),
     bHasType( false )
 {
     if ( rAttrList.is() )
diff --git a/sc/source/filter/xml/XMLExportIterator.cxx b/sc/source/filter/xml/XMLExportIterator.cxx
index c2eb3f2a44d1..f0032b22e5fb 100644
--- a/sc/source/filter/xml/XMLExportIterator.cxx
+++ b/sc/source/filter/xml/XMLExportIterator.cxx
@@ -58,7 +58,6 @@ inline bool ScMyShape::operator<(const ScMyShape& aShape) const
 }
 
 ScMyShapesContainer::ScMyShapesContainer()
-    : aShapeList()
 {
 }
 
@@ -114,7 +113,6 @@ inline bool ScMyNoteShape::operator<(const ScMyNoteShape& aNote) const
 }
 
 ScMyNoteShapesContainer::ScMyNoteShapesContainer()
-    : aNoteShapeList()
 {
 }
 
@@ -163,7 +161,6 @@ inline bool ScMyMergedRange::operator<(const ScMyMergedRange& aRange) const
 }
 
 ScMyMergedRangesContainer::ScMyMergedRangesContainer()
-    : aRangeList()
 {
 }
 
@@ -256,8 +253,7 @@ inline bool ScMyAreaLink::operator<(const ScMyAreaLink& rAreaLink ) const
     return aDestRange.aStart.lessThanByRow( rAreaLink.aDestRange.aStart );
 }
 
-ScMyAreaLinksContainer::ScMyAreaLinksContainer() :
-    aAreaLinkList()
+ScMyAreaLinksContainer::ScMyAreaLinksContainer()
 {
 }
 
@@ -315,7 +311,6 @@ void ScMyAreaLinksContainer::Sort()
 }
 
 ScMyEmptyDatabaseRangesContainer::ScMyEmptyDatabaseRangesContainer()
-    : aDatabaseList()
 {
 }
 
@@ -382,8 +377,7 @@ inline bool ScMyDetectiveObj::operator<( const ScMyDetectiveObj& rDetObj) const
     return aPosition.lessThanByRow( rDetObj.aPosition );
 }
 
-ScMyDetectiveObjContainer::ScMyDetectiveObjContainer() :
-    aDetectiveObjList()
+ScMyDetectiveObjContainer::ScMyDetectiveObjContainer()
 {
 }
 
@@ -464,8 +458,7 @@ inline bool ScMyDetectiveOp::operator<( const ScMyDetectiveOp& rDetOp) const
     return aPosition.lessThanByRow( rDetOp.aPosition );
 }
 
-ScMyDetectiveOpContainer::ScMyDetectiveOpContainer() :
-    aDetectiveOpList()
+ScMyDetectiveOpContainer::ScMyDetectiveOpContainer()
 {
 }
 
@@ -519,8 +512,6 @@ void ScMyDetectiveOpContainer::Sort()
 }
 
 ScMyCell::ScMyCell() :
-    aShapeList(),
-    aDetectiveObjVec(),
     pNote(nullptr),
     nValidationIndex(-1),
     nStyleIndex(-1),
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx
index cfd41b9be146..a03f73fdd1a1 100644
--- a/sc/source/filter/xml/XMLStylesExportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx
@@ -41,14 +41,7 @@ using namespace com::sun::star;
 using namespace xmloff::token;
 
 ScMyValidation::ScMyValidation()
-    : sName(),
-    sErrorMessage(),
-    sErrorTitle(),
-    sInputMessage(),
-    sInputTitle(),
-    sFormula1(),
-    sFormula2(),
-    aAlertStyle(sheet::ValidationAlertStyle_STOP),
+    : aAlertStyle(sheet::ValidationAlertStyle_STOP),
     aValidationType(sheet::ValidationType_ANY),
     aOperator(sheet::ConditionOperator_NONE),
     nShowList(0),
@@ -87,7 +80,6 @@ constexpr OUStringLiteral gsERRTITLE(u"" SC_UNONAME_ERRTITLE);
 constexpr OUStringLiteral gsERRMESS(u"" SC_UNONAME_ERRMESS);
 
 ScMyValidationsContainer::ScMyValidationsContainer()
-    : aValidationVec()
 {
 }
 
@@ -500,8 +492,7 @@ bool ScMyRowFormatRange::operator< (const ScMyRowFormatRange& rRange) const
 }
 
 ScRowFormatRanges::ScRowFormatRanges()
-    : aRowFormatRanges(),
-    pColDefaults(nullptr),
+    : pColDefaults(nullptr),
     nSize(0)
 {
 }
@@ -669,10 +660,7 @@ bool ScMyFormatRange::operator<(const ScMyFormatRange& rRange) const
 }
 
 ScFormatRangeStyles::ScFormatRangeStyles()
-    : aTables(),
-    aStyleNames(),
-    aAutoStyleNames(),
-    pColDefaults(nullptr)
+    : pColDefaults(nullptr)
 {
 }
 
@@ -922,7 +910,6 @@ void ScFormatRangeStyles::Sort()
 }
 
 ScColumnRowStylesBase::ScColumnRowStylesBase()
-    : aStyleNames()
 {
 }
 
@@ -967,8 +954,6 @@ OUString& ScColumnRowStylesBase::GetStyleNameByIndex(const sal_Int32 nIndex)
 }
 
 ScColumnStyles::ScColumnStyles()
-    : ScColumnRowStylesBase(),
-    aTables()
 {
 }
 
@@ -1025,7 +1010,6 @@ bool ScRowStyles::Cache::hasCache(sal_Int32 nTable, sal_Int32 nField) const
 }
 
 ScRowStyles::ScRowStyles()
-    : ScColumnRowStylesBase()
 {
 }
 
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.cxx b/sc/source/filter/xml/XMLTableShapeResizer.cxx
index d500703041bc..640c9e479cd9 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.cxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.cxx
@@ -39,7 +39,6 @@ using ::std::vector;
 
 ScMyOLEFixer::ScMyOLEFixer(ScXMLImport& rTempImport)
     : rImport(rTempImport),
-    aShapes(),
     pCollection(nullptr)
 {
 }
diff --git a/sc/source/filter/xml/XMLTableSourceContext.cxx b/sc/source/filter/xml/XMLTableSourceContext.cxx
index c64fd897087e..bd09d266ad48 100644
--- a/sc/source/filter/xml/XMLTableSourceContext.cxx
+++ b/sc/source/filter/xml/XMLTableSourceContext.cxx
@@ -34,10 +34,6 @@ using namespace xmloff::token;
 ScXMLTableSourceContext::ScXMLTableSourceContext( ScXMLImport& rImport,
                                       const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList ) :
     ScXMLImportContext( rImport ),
-    sLink(),
-    sTableName(),
-    sFilterName(),
-    sFilterOptions(),
     nRefresh(0),
     nMode(sheet::SheetLinkMode_NORMAL)
 {
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index 3490303bc670..9ffa419965ad 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -648,7 +648,6 @@ ScXMLChangeTextPContext::ScXMLChangeTextPContext( ScXMLImport& rImport,
     ScXMLImportContext( rImport ),
     mxAttrList(xAttrList),
     mnElement(nElement),
-    sText(),
     pChangeCellContext(pTempChangeCellContext)
 {
     // here are no attributes
diff --git a/sc/source/filter/xml/xmlbodyi.cxx b/sc/source/filter/xml/xmlbodyi.cxx
index 4791d8bd4d7c..817dcea890be 100644
--- a/sc/source/filter/xml/xmlbodyi.cxx
+++ b/sc/source/filter/xml/xmlbodyi.cxx
@@ -59,7 +59,6 @@ using namespace xmloff::token;
 ScXMLBodyContext::ScXMLBodyContext( ScXMLImport& rImport,
                                     const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList ) :
     ScXMLImportContext( rImport ),
-    sPassword(),
     meHash1(PASSHASH_SHA1),
     meHash2(PASSHASH_UNSPECIFIED),
     bProtected(false),
diff --git a/sc/source/filter/xml/xmlcvali.cxx b/sc/source/filter/xml/xmlcvali.cxx
index b5b6972ff0dc..bc3856bd4afc 100644
--- a/sc/source/filter/xml/xmlcvali.cxx
+++ b/sc/source/filter/xml/xmlcvali.cxx
@@ -412,8 +412,6 @@ ScXMLHelpMessageContext::ScXMLHelpMessageContext( ScXMLImport& rImport,
                                       const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList,
                                       ScXMLContentValidationContext* pTempValidationContext) :
     ScXMLImportContext( rImport ),
-    sTitle(),
-    sMessage(),
     nParagraphCount(0),
     bDisplay(false)
 {
@@ -465,9 +463,6 @@ ScXMLErrorMessageContext::ScXMLErrorMessageContext( ScXMLImport& rImport,
                                       const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList,
                                       ScXMLContentValidationContext* pTempValidationContext) :
     ScXMLImportContext( rImport ),
-    sTitle(),
-    sMessage(),
-    sMessageType(),
     nParagraphCount(0),
     bDisplay(false)
 {
diff --git a/sc/source/filter/xml/xmldpimp.cxx b/sc/source/filter/xml/xmldpimp.cxx
index 8447d800f160..3d84477b208c 100644
--- a/sc/source/filter/xml/xmldpimp.cxx
+++ b/sc/source/filter/xml/xmldpimp.cxx
@@ -87,8 +87,6 @@ ScXMLDataPilotTableContext::ScXMLDataPilotTableContext( ScXMLImport& rImport,
     ScXMLImportContext( rImport ),
     pDoc(GetScImport().GetDocument()),
     pDPSave(new ScDPSaveData()),
-    sDataPilotTableName(),
-    sApplicationData(),
     nSourceType(SQL),
     mnRowFieldCount(0),
     mnColFieldCount(0),
@@ -786,7 +784,6 @@ ScXMLDataPilotFieldContext::ScXMLDataPilotFieldContext( ScXMLImport& rImport,
                                       ScXMLDataPilotTableContext* pTempDataPilotTable) :
     ScXMLImportContext( rImport ),
     pDataPilotTable(pTempDataPilotTable),
-    xDim(),
     fStart(0.0),
     fEnd(0.0),
     fStep(0.0),
diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx
index d1701179d912..820c42412b51 100644
--- a/sc/source/filter/xml/xmldrani.cxx
+++ b/sc/source/filter/xml/xmldrani.cxx
@@ -83,7 +83,6 @@ ScXMLDatabaseRangeContext::ScXMLDatabaseRangeContext( ScXMLImport& rImport,
     ScXMLImportContext( rImport ),
     mpQueryParam(new ScQueryParam),
     sDatabaseRangeName(STR_DB_LOCAL_NONAME),
-    aSortSequence(),
     nSourceType(sheet::DataImportMode_NONE),
     nRefresh(0),
     nSubTotalsUserListIndex(0),
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 427abc0e296c..1821eefbbd53 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -352,7 +352,6 @@ ScXMLExport::ScXMLExport(
         rContext, implementationName, GetMeasureUnit(), XML_SPREADSHEET, nExportFlag ),
     pDoc(nullptr),
     nSourceStreamPos(0),
-    aTableStyles(),
     pCurrentCell(nullptr),
     nOpenRow(-1),
     nProgressCount(0),
diff --git a/sc/source/filter/xml/xmlfilti.cxx b/sc/source/filter/xml/xmlfilti.cxx
index 3bac65fafa15..7fb8b4e13a84 100644
--- a/sc/source/filter/xml/xmlfilti.cxx
+++ b/sc/source/filter/xml/xmlfilti.cxx
@@ -480,7 +480,6 @@ ScXMLDPFilterContext::ScXMLDPFilterContext( ScXMLImport& rImport,
                                       ScXMLDataPilotTableContext* pTempDataPilotTableContext) :
     ScXMLImportContext( rImport ),
     pDataPilotTable(pTempDataPilotTableContext),
-    aFilterFields(),
     eSearchType(utl::SearchParam::SearchType::Normal),
     nFilterFieldCount(0),
     bSkipDuplicates(false),
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index bb99349387fa..ae36dc9a32ab 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -359,8 +359,6 @@ ScXMLImport::ScXMLImport(
     pDoc( nullptr ),
     mpPostProcessData(nullptr),
     aTables(*this),
-    sPrevStyleName(),
-    sPrevCurrency(),
     nSolarMutexLocked(0),
     nProgressCount(0),
     nPrevCellType(0),
diff --git a/sc/source/filter/xml/xmlsorti.cxx b/sc/source/filter/xml/xmlsorti.cxx
index 633966845ef0..db12134a38b6 100644
--- a/sc/source/filter/xml/xmlsorti.cxx
+++ b/sc/source/filter/xml/xmlsorti.cxx
@@ -37,7 +37,6 @@ ScXMLSortContext::ScXMLSortContext( ScXMLImport& rImport,
                                       ScXMLDatabaseRangeContext* pTempDatabaseRangeContext) :
     ScXMLImportContext( rImport ),
     pDatabaseRangeContext(pTempDatabaseRangeContext),
-    sAlgorithm(),
     nUserListIndex(0),
     bCopyOutputData(false),
     bBindFormatsToContent(true),
diff --git a/sc/source/filter/xml/xmlstyle.cxx b/sc/source/filter/xml/xmlstyle.cxx
index 75d8fa6b2003..6b9aeb4d7231 100644
--- a/sc/source/filter/xml/xmlstyle.cxx
+++ b/sc/source/filter/xml/xmlstyle.cxx
@@ -797,7 +797,6 @@ ScXMLAutoStylePoolP::~ScXMLAutoStylePoolP()
 }
 
 XMLScPropHdlFactory::XMLScPropHdlFactory()
-    : XMLPropertyHandlerFactory()
 {
 }
 
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 2c8909216445..34a24a81f68e 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -416,7 +416,6 @@ void XMLTableStyleContext::SetAttribute( sal_Int32 nElement,
 XMLTableStyleContext::XMLTableStyleContext( ScXMLImport& rImport,
         SvXMLStylesContext& rStyles, XmlStyleFamily nFamily, bool bDefaultStyle ) :
     XMLPropStyleContext( rImport, rStyles, nFamily, bDefaultStyle ),
-    sDataStyleName(),
     pStyles(&rStyles),
     nNumberFormat(-1),
     nLastSheet(-1),
diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx
index dab3e428305d..cab64260f9c0 100644
--- a/sc/source/filter/xml/xmltabi.cxx
+++ b/sc/source/filter/xml/xmltabi.cxx
@@ -126,7 +126,7 @@ static bool lcl_isExternalRefCache(const OUString& rName, OUString& rUrl, OUStri
 }
 
 ScXMLExternalTabData::ScXMLExternalTabData() :
-    mpCacheTable(), mnRow(0), mnCol(0), mnFileId(0)
+     mnRow(0), mnCol(0), mnFileId(0)
 {
 }
 
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 08812324f9aa..cd76922aff2a 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -793,8 +793,7 @@ ScInputHandler::ScInputHandler()
         aScaleX( 1,1 ),
         aScaleY( 1,1 ),
         pRefViewSh( nullptr ),
-        pLastPattern( nullptr ),
-        maFormulaChar()
+        pLastPattern( nullptr )
 {
     //  The InputHandler is constructed with the view, so SfxViewShell::Current
     //  doesn't have the right view yet. pActiveViewSh is updated in NotifyChange.
diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
index cc589a3e851a..9ec585712587 100644
--- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
+++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
@@ -207,11 +207,6 @@ ScZoomSlider::ScZoomSlider(const css::uno::Reference< css::frame::XDispatchProvi
     : mnCurrentZoom( nCurrentZoom ),
       mnMinZoom( 10 ),
       mnMaxZoom( 400 ),
-      maSnappingPointOffsets(),
-      maSnappingPointZooms(),
-      maSliderButton(),
-      maIncreaseButton(),
-      maDecreaseButton(),
       mbOmitPaint( false ),
       m_xDispatchProvider(rDispatchProvider)
 {
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index 27221c581f4e..630408ceca55 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -110,8 +110,7 @@ ScImportExport::ScImportExport( ScDocument& r )
       bFormulas( false ), bIncludeFiltered( true ),
       bAll( true ), bSingle( true ), bUndo( false ),
       bOverflowRow( false ), bOverflowCol( false ), bOverflowCell( false ),
-      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false ),
-      mExportTextOptions()
+      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false )
 {
     pUndoDoc = nullptr;
     pExtOptions = nullptr;
@@ -126,8 +125,7 @@ ScImportExport::ScImportExport( ScDocument& r, const ScAddress& rPt )
       bFormulas( false ), bIncludeFiltered( true ),
       bAll( false ), bSingle( true ), bUndo( pDocSh != nullptr ),
       bOverflowRow( false ), bOverflowCol( false ), bOverflowCell( false ),
-      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false ),
-      mExportTextOptions()
+      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false )
 {
     pUndoDoc = nullptr;
     pExtOptions = nullptr;
@@ -143,8 +141,7 @@ ScImportExport::ScImportExport( ScDocument& r, const ScRange& rRange )
       bFormulas( false ), bIncludeFiltered( true ),
       bAll( false ), bSingle( false ), bUndo( pDocSh != nullptr ),
       bOverflowRow( false ), bOverflowCol( false ), bOverflowCell( false ),
-      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false ),
-      mExportTextOptions()
+      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false )
 {
     pUndoDoc = nullptr;
     pExtOptions = nullptr;
@@ -161,8 +158,7 @@ ScImportExport::ScImportExport( ScDocument& r, const OUString& rPos )
       bFormulas( false ), bIncludeFiltered( true ),
       bAll( false ), bSingle( true ), bUndo( pDocSh != nullptr ),
       bOverflowRow( false ), bOverflowCol( false ), bOverflowCell( false ),
-      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false ),
-      mExportTextOptions()
+      mbApi( true ), mbImportBroadcast(false), mbOverwriting( false )
 {
     pUndoDoc = nullptr;
     pExtOptions = nullptr;
diff --git a/sc/source/ui/formdlg/formdata.cxx b/sc/source/ui/formdlg/formdata.cxx
index b936d22c7563..aabce7653b6d 100644
--- a/sc/source/ui/formdlg/formdata.cxx
+++ b/sc/source/ui/formdlg/formdata.cxx
@@ -20,8 +20,7 @@
 #include <formdata.hxx>
 
 ScFormEditData::ScFormEditData()
-    : formula::FormEditData()
-    , pInputHandler(nullptr)
+    : pInputHandler(nullptr)
     , pScDocShell(nullptr)
 {
     Reset();
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 68ce160809fa..051999a104e2 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -43,7 +43,6 @@
 
 
 ScRedlinData::ScRedlinData()
-    :RedlinData()
 {
     nInfo=RD_SPECIAL_NONE;
     nActionNo=0;
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index 51beb4201402..28f17f3054dc 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -68,7 +68,6 @@ AlignmentPropertyPanel::AlignmentPropertyPanel(
     , maVrtStackControl(SID_ATTR_ALIGN_STACKED, *pBindings, *this)
     , maRefEdgeControl(SID_ATTR_ALIGN_LOCKPOS, *pBindings, *this)
     , mbMultiDisable(false)
-    , maContext()
     , mpBindings(pBindings)
 {
     Initialize();
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
index 75cb52209942..78745aa73c94 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
@@ -98,7 +98,6 @@ CellAppearancePropertyPanel::CellAppearancePropertyPanel(
     mbInnerBorder(false),
     mbDiagTLBR(false),
     mbDiagBLTR(false),
-    maContext(),
     mpBindings(pBindings)
 {
     Initialize();
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
index 9057f9bf3923..85cf20d014f3 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
@@ -50,7 +50,6 @@ NumberFormatPropertyPanel::NumberFormatPropertyPanel(
     , maNumFormatControl(SID_NUMBER_TYPE_FORMAT, *pBindings, *this)
     , maFormatControl(SID_NUMBER_FORMAT, *pBindings, *this)
     , mnCategorySelected(0)
-    , maContext()
     , mpBindings(pBindings)
 {
     Initialize();
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index ac318b487d43..5062daaee85c 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -9162,8 +9162,7 @@ struct ScUniqueFormatsOrder
 }
 
 ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(ScDocShell* pDocSh, const ScRange& rTotalRange) :
-    pDocShell( pDocSh ),
-    aRangeLists()
+    pDocShell( pDocSh )
 {
     pDocShell->GetDocument().AddUnoObject(*this);
 
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index bc9b48c9ff67..d5ed1ad3e892 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -2884,7 +2884,6 @@ IMPL_LINK( ScChart2DataSequence, ValueListenerHdl, const SfxHint&, rHint, void )
 
 ScChart2DataSequence::ExternalRefListener::ExternalRefListener(
     ScChart2DataSequence& rParent, ScDocument* pDoc) :
-    ScExternalRefManager::LinkListener(),
     mrParent(rParent),
     mpDoc(pDoc)
 {
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index aff1c4b00eff..9aa5213a3bce 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -903,7 +903,7 @@ private:
     ScDocument& m_rDoc;
     formula::FormulaGrammar::Grammar m_eGrammar;
 public:
-    CellFormulaValueGetter(ScDocument& rDoc, formula::FormulaGrammar::Grammar eGram ) : CellValueGetter( ), m_rDoc( rDoc ), m_eGrammar( eGram ) {}
+    CellFormulaValueGetter(ScDocument& rDoc, formula::FormulaGrammar::Grammar eGram ) :  m_rDoc( rDoc ), m_eGrammar( eGram ) {}
     virtual void visitNode( sal_Int32 /*x*/, sal_Int32 /*y*/, const uno::Reference< table::XCell >& xCell ) override
     {
         uno::Any aValue;
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 505113ba9fdb..0a0ecd874c88 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -3368,7 +3368,6 @@ void ScCellShell::ExecuteFillSingleEdit()
 }
 
 CellShell_Impl::CellShell_Impl() :
-        m_pLinkedDlg(),
         m_pRequest( nullptr ) {}
 
 CellShell_Impl::~CellShell_Impl()
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index c7e95a54721c..0e527601e10d 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -344,21 +344,9 @@ ScGridWindow::ScGridWindow( vcl::Window* pParent, ScViewData& rData, ScSplitPos
 :           Window( pParent, WB_CLIPCHILDREN | WB_DIALOGCONTROL ),
             DropTargetHelper( this ),
             DragSourceHelper( this ),
-            mpOOCursors(),
-            mpOOSelection(),
-            mpOOSelectionBorder(),
-            mpOOAutoFill(),
-            mpOODragRect(),
-            mpOOHeader(),
-            mpOOShrink(),
             maVisibleRange(rData.GetDocument()),
             mrViewData( rData ),
             eWhich( eWhichPos ),
-            mpNoteMarker(),
-            mpFilterBox(),
-            mpAutoFilterPopup(),
-            mpDPFieldPopup(),
-            mpFilterButton(),
             nCursorHideCount( 0 ),
             nButtonDown( 0 ),
             nMouseStatus( SC_GM_NONE ),
diff --git a/sc/source/ui/view/pfuncache.cxx b/sc/source/ui/view/pfuncache.cxx
index 3c1ff3a34015..627f274d12d1 100644
--- a/sc/source/ui/view/pfuncache.cxx
+++ b/sc/source/ui/view/pfuncache.cxx
@@ -31,8 +31,6 @@ ScPrintFuncCache::ScPrintFuncCache( ScDocShell* pD, const ScMarkData& rMark,
     aSelection( rStatus ),
     pDocSh( pD ),
     nTotalPages( 0 ),
-    nPages(),
-    nFirstAttr(),
     bLocInitialized( false )
 {
     //  page count uses the stored cell widths for the printer anyway,
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index db8dd50eab18..ecadef053c19 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -88,8 +88,6 @@ ScPreview::ScPreview( vcl::Window* pParent, ScDocShell* pDocSh, ScPreviewShell*
     nZoom( 100 ),
     nTabCount( 0 ),
     nTabsTested( 0 ),
-    nPages(),
-    nFirstAttr(),
     nTab( 0 ),
     nTabPage( 0 ),
     nTabStart( 0 ),
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index be0243958779..8f885ccfc26a 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -183,7 +183,6 @@ ScTabView::ScTabView( vcl::Window* pParent, ScDocShell& rDocSh, ScTabViewShell*
     aCornerButton( VclPtr<ScCornerButton>::Create( pFrameWin, &aViewData ) ),
     aTopButton( VclPtr<ScCornerButton>::Create( pFrameWin, &aViewData ) ),
     aScrollBarBox( VclPtr<ScrollBarBox>::Create( pFrameWin, WB_SIZEABLE ) ),
-    mxInputHintOO(),
     pTimerWindow( nullptr ),
     aExtraEditViewManager( pViewShell, pGridWin ),
     nTipVisible( nullptr ),


More information about the Libreoffice-commits mailing list