sw/source/core/SwNumberTree/SwNumberTree.cxx | 6 -- sw/source/core/access/acchypertextdata.cxx | 3 - sw/source/core/access/accmap.cxx | 1 sw/source/core/access/accnotextframe.cxx | 4 - sw/source/core/access/accpara.cxx | 1 sw/source/core/access/accportions.cxx | 7 -- sw/source/core/access/acctextframe.cxx | 4 - sw/source/core/bastyp/swcache.cxx | 1 sw/source/core/bastyp/swregion.cxx | 1 sw/source/core/crsr/bookmrk.cxx | 1 sw/source/core/crsr/crsrsh.cxx | 2 sw/source/core/crsr/viscrs.cxx | 3 - sw/source/core/doc/DocumentChartDataProviderManager.cxx | 3 - sw/source/core/doc/DocumentListsManager.cxx | 2 sw/source/core/doc/docbm.cxx | 7 -- sw/source/core/doc/docftn.cxx | 1 sw/source/core/doc/docnew.cxx | 1 sw/source/core/doc/docnum.cxx | 3 - sw/source/core/doc/list.cxx | 1 sw/source/core/doc/notxtfrm.cxx | 9 --- sw/source/core/doc/number.cxx | 11 +--- sw/source/core/doc/swstylemanager.cxx | 3 - sw/source/core/doc/tblafmt.cxx | 16 ++---- sw/source/core/docnode/finalthreadmanager.cxx | 10 ---- sw/source/core/docnode/ndtbl.cxx | 3 - sw/source/core/docnode/observablethread.cxx | 3 - sw/source/core/docnode/retrieveinputstream.cxx | 3 - sw/source/core/docnode/threadlistener.cxx | 3 - sw/source/core/docnode/threadmanager.cxx | 6 -- sw/source/core/draw/dcontact.cxx | 3 - sw/source/core/draw/dflyobj.cxx | 3 - sw/source/core/fields/fldbas.cxx | 3 - sw/source/core/fields/postithelper.cxx | 1 sw/source/core/graphic/ndgrf.cxx | 2 sw/source/core/layout/anchoreddrawobject.cxx | 1 sw/source/core/layout/anchoredobject.cxx | 7 -- sw/source/core/layout/atrfrm.cxx | 4 - sw/source/core/layout/fly.cxx | 2 sw/source/core/layout/flylay.cxx | 5 -- sw/source/core/layout/newfrm.cxx | 1 sw/source/core/layout/paintfrm.cxx | 3 - sw/source/core/layout/wsfrm.cxx | 8 --- sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx | 2 sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx | 2 sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx | 5 -- sw/source/core/ole/ndole.cxx | 10 ---- sw/source/core/table/swtable.cxx | 1 sw/source/core/text/portxt.cxx | 1 sw/source/core/text/txttab.cxx | 2 sw/source/core/txtnode/ndtxt.cxx | 6 -- sw/source/core/undo/rolbck.cxx | 3 - sw/source/core/unocore/unocoll.cxx | 1 sw/source/core/unocore/unodraw.cxx | 1 sw/source/core/unocore/unoframe.cxx | 3 - sw/source/core/unocore/unoportenum.cxx | 1 sw/source/core/unocore/unosect.cxx | 3 - sw/source/core/view/vnew.cxx | 7 -- sw/source/filter/html/svxcss1.cxx | 1 sw/source/filter/html/wrthtml.cxx | 1 sw/source/filter/ww8/docxattributeoutput.cxx | 2 sw/source/filter/ww8/writerhelper.cxx | 5 -- sw/source/filter/ww8/wrtww8.cxx | 3 - sw/source/filter/ww8/ww8par.cxx | 3 - sw/source/filter/xml/XMLRedlineImportHelper.cxx | 9 --- sw/source/filter/xml/xmltbli.cxx | 5 -- sw/source/ui/fldui/fldref.cxx | 2 sw/source/uibase/app/swwait.cxx | 1 sw/source/uibase/dbui/dbui.cxx | 1 sw/source/uibase/docvw/AnchorOverlayObject.cxx | 6 -- sw/source/uibase/docvw/AnnotationWin.cxx | 6 -- sw/source/uibase/docvw/FrameControlsManager.cxx | 3 - sw/source/uibase/docvw/HeaderFooterWin.cxx | 3 - sw/source/uibase/docvw/ShadowOverlayObject.cxx | 3 - sw/source/uibase/docvw/SidebarWinAcc.cxx | 4 - sw/source/uibase/lingu/olmenu.cxx | 1 sw/source/uibase/misc/glshell.cxx | 1 sw/source/uibase/sidebar/PageFooterPanel.cxx | 1 sw/source/uibase/sidebar/PageFormatPanel.cxx | 3 - sw/source/uibase/sidebar/PageHeaderPanel.cxx | 1 sw/source/uibase/sidebar/PageSizeControl.cxx | 1 sw/source/uibase/sidebar/PageStylesPanel.cxx | 3 - sw/source/uibase/sidebar/ThemePanel.cxx | 2 sw/source/uibase/uiview/uivwimp.cxx | 3 - sw/source/uibase/uno/unomod.cxx | 4 - sw/source/uibase/uno/unotxdoc.cxx | 25 ---------- sw/source/uibase/uno/unotxvw.cxx | 4 - 86 files changed, 58 insertions(+), 259 deletions(-)
New commits: commit b0aae09e6c565f5578672f38ebb1fed36784bdff Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Sun Sep 5 15:52:48 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Sep 6 12:51:23 2021 +0200 clang-tidy:readability-redundant-member-init Change-Id: I706eebc3e4e2bbcb9bf250a4864937fd1447498c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121690 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/SwNumberTree/SwNumberTree.cxx b/sw/source/core/SwNumberTree/SwNumberTree.cxx index bc24899b235b..2bf20bfc703b 100644 --- a/sw/source/core/SwNumberTree/SwNumberTree.cxx +++ b/sw/source/core/SwNumberTree/SwNumberTree.cxx @@ -28,12 +28,10 @@ using std::vector; using std::find; SwNumberTreeNode::SwNumberTreeNode() - : mChildren(), - mpParent( nullptr ), + : mpParent( nullptr ), mnNumber( 0 ), mbContinueingPreviousSubTree( false ), - mbPhantom( false ), - mItLastValid() + mbPhantom( false ) { mItLastValid = mChildren.end(); } diff --git a/sw/source/core/access/acchypertextdata.cxx b/sw/source/core/access/acchypertextdata.cxx index c62465d129b9..918bcc631305 100644 --- a/sw/source/core/access/acchypertextdata.cxx +++ b/sw/source/core/access/acchypertextdata.cxx @@ -23,8 +23,7 @@ using namespace ::com::sun::star::accessibility; using namespace ::com::sun::star::uno; -SwAccessibleHyperTextData::SwAccessibleHyperTextData() : - maMap() +SwAccessibleHyperTextData::SwAccessibleHyperTextData() { } diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 60ec8cf53996..04fd9f659f91 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -292,7 +292,6 @@ private: public: explicit SwAccessibleShapeMap_Impl( SwAccessibleMap const *pMap ) - : maMap() { maInfo.SetSdrView( pMap->GetShell()->GetDrawView() ); maInfo.SetWindow( pMap->GetShell()->GetWin() ); diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx index 8f42d72face2..0f1454602031 100644 --- a/sw/source/core/access/accnotextframe.cxx +++ b/sw/source/core/access/accnotextframe.cxx @@ -58,9 +58,7 @@ SwAccessibleNoTextFrame::SwAccessibleNoTextFrame( std::shared_ptr<SwAccessibleMap> const& pInitMap, sal_Int16 nInitRole, const SwFlyFrame* pFlyFrame ) : - SwAccessibleFrameBase( pInitMap, nInitRole, pFlyFrame ), - msTitle(), - msDesc() + SwAccessibleFrameBase( pInitMap, nInitRole, pFlyFrame ) { const SwNoTextNode* pNd = GetNoTextNode(); // #i73249# diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 3c471c702f30..1c3f64e1f6dd 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -397,7 +397,6 @@ SwAccessibleParagraph::SwAccessibleParagraph( std::shared_ptr<SwAccessibleMap> const& pInitMap, const SwTextFrame& rTextFrame ) : SwAccessibleContext( pInitMap, AccessibleRole::PARAGRAPH, &rTextFrame ) - , m_sDesc() , m_nOldCaretPos( -1 ) , m_bIsHeading( false ) //Get the real heading level, Heading1 ~ Heading10 diff --git a/sw/source/core/access/accportions.cxx b/sw/source/core/access/accportions.cxx index b1da888d5af7..d7aaaa560e1e 100644 --- a/sw/source/core/access/accportions.cxx +++ b/sw/source/core/access/accportions.cxx @@ -64,16 +64,9 @@ static size_t FindLastBreak(const std::vector<T>& rPositions, T nValue); SwAccessiblePortionData::SwAccessiblePortionData( const SwTextFrame *const pTextFrame, const SwViewOption* pViewOpt ) : - SwPortionHandler(), m_pTextFrame(pTextFrame), - m_aBuffer(), m_nViewPosition( 0 ), m_pViewOptions( pViewOpt ), - m_sAccessibleString(), - m_aLineBreaks(), - m_aAccessiblePositions(), - m_aFieldPosition(), - m_aPortionAttrs(), m_nBeforePortions( 0 ), m_bFinished( false ) { diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx index 0f3b0b60bc84..a5d6d43df622 100644 --- a/sw/source/core/access/acctextframe.cxx +++ b/sw/source/core/access/acctextframe.cxx @@ -44,9 +44,7 @@ using ::com::sun::star::accessibility::XAccessibleContext; SwAccessibleTextFrame::SwAccessibleTextFrame( std::shared_ptr<SwAccessibleMap> const& pInitMap, const SwFlyFrame& rFlyFrame ) : - SwAccessibleFrameBase( pInitMap, AccessibleRole::TEXT_FRAME, &rFlyFrame ), - msTitle(), - msDesc() + SwAccessibleFrameBase( pInitMap, AccessibleRole::TEXT_FRAME, &rFlyFrame ) { const SwFlyFrameFormat* pFlyFrameFormat = rFlyFrame.GetFormat(); msTitle = pFlyFrameFormat->GetObjTitle(); diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx index a0ce68b033d1..ccf7522a2370 100644 --- a/sw/source/core/bastyp/swcache.cxx +++ b/sw/source/core/bastyp/swcache.cxx @@ -79,7 +79,6 @@ SwCache::SwCache( const sal_uInt16 nInitSize , const OString &rNm #endif ) : - m_aCacheObjects(), m_pRealFirst( nullptr ), m_pFirst( nullptr ), m_pLast( nullptr ), diff --git a/sw/source/core/bastyp/swregion.cxx b/sw/source/core/bastyp/swregion.cxx index 09e07757b236..ea59d25d532e 100644 --- a/sw/source/core/bastyp/swregion.cxx +++ b/sw/source/core/bastyp/swregion.cxx @@ -22,7 +22,6 @@ #include <swtypes.hxx> SwRegionRects::SwRegionRects( const SwRect &rStartRect, sal_uInt16 nInit ) : - SwRects(), m_aOrigin( rStartRect ) { reserve(nInit); diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx index dc45eb7e22d4..b1d89245f58c 100644 --- a/sw/source/core/crsr/bookmrk.cxx +++ b/sw/source/core/crsr/bookmrk.cxx @@ -396,7 +396,6 @@ namespace sw::mark const vcl::KeyCode& rCode, const OUString& rName) : DdeBookmark(aPaM) - , ::sfx2::Metadatable() , m_aCode(rCode) , m_bHidden(false) { diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index e1abd7264ae9..2d86a96d9a6d 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -2943,7 +2943,6 @@ SwCursorShell::SwCursorShell( SwCursorShell& rShell, vcl::Window *pInitWin ) , m_nCursorMove( 0 ) , m_eMvState( CursorMoveState::NONE ) , m_eEnhancedTableSel(SwTable::SEARCH_NONE) - , m_sMarkedListId() , m_nMarkedListLevel( 0 ) , m_oldColFrame(nullptr) { @@ -2980,7 +2979,6 @@ SwCursorShell::SwCursorShell( SwDoc& rDoc, vcl::Window *pInitWin, , m_nCursorMove( 0 ) , m_eMvState( CursorMoveState::NONE ) // state for crsr-travelling - GetModelPositionForViewPoint , m_eEnhancedTableSel(SwTable::SEARCH_NONE) - , m_sMarkedListId() , m_nMarkedListLevel( 0 ) , m_oldColFrame(nullptr) { diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index 82554572b09d..e8eab007038d 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -323,8 +323,7 @@ const vcl::Cursor& SwVisibleCursor::GetTextCursor() const } SwSelPaintRects::SwSelPaintRects( const SwCursorShell& rCSh ) - : SwRects() - , m_pCursorShell( &rCSh ) + : m_pCursorShell( &rCSh ) #if HAVE_FEATURE_DESKTOP , m_bShowTextInputFieldOverlay(true) #endif diff --git a/sw/source/core/doc/DocumentChartDataProviderManager.cxx b/sw/source/core/doc/DocumentChartDataProviderManager.cxx index cd5aae52308e..e559892abf9d 100644 --- a/sw/source/core/doc/DocumentChartDataProviderManager.cxx +++ b/sw/source/core/doc/DocumentChartDataProviderManager.cxx @@ -34,8 +34,7 @@ using namespace com::sun::star::uno; namespace sw { -DocumentChartDataProviderManager::DocumentChartDataProviderManager( SwDoc& i_rSwdoc ) : m_rDoc( i_rSwdoc ), - maChartDataProviderImplRef() +DocumentChartDataProviderManager::DocumentChartDataProviderManager( SwDoc& i_rSwdoc ) : m_rDoc( i_rSwdoc ) { } diff --git a/sw/source/core/doc/DocumentListsManager.cxx b/sw/source/core/doc/DocumentListsManager.cxx index 177489aedfb2..16cb54071037 100644 --- a/sw/source/core/doc/DocumentListsManager.cxx +++ b/sw/source/core/doc/DocumentListsManager.cxx @@ -28,7 +28,7 @@ namespace sw { -DocumentListsManager::DocumentListsManager( SwDoc& i_rSwdoc ) : m_rDoc( i_rSwdoc ), maLists(), maListStyleLists() +DocumentListsManager::DocumentListsManager( SwDoc& i_rSwdoc ) : m_rDoc( i_rSwdoc ) { } diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 008fb03e09e4..32908e877cc7 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -537,11 +537,7 @@ void IDocumentMarkAccess::DeleteFieldmarkCommand(::sw::mark::IFieldmark const& r namespace sw::mark { MarkManager::MarkManager(SwDoc& rDoc) - : m_vAllMarks() - , m_vBookmarks() - , m_vFieldmarks() - , m_vAnnotationMarks() - , m_rDoc(rDoc) + : m_rDoc(rDoc) , m_pLastActiveFieldmark(nullptr) { } @@ -1803,7 +1799,6 @@ SaveBookmark::SaveBookmark( const SwIndex* pIdx) : m_aName(rBkmk.GetName()) , m_bHidden(false) - , m_aCode() , m_eOrigBkmType(IDocumentMarkAccess::GetType(rBkmk)) { const IBookmark* const pBookmark = dynamic_cast< const IBookmark* >(&rBkmk); diff --git a/sw/source/core/doc/docftn.cxx b/sw/source/core/doc/docftn.cxx index c78fd07e2d9a..add4cd3e15a6 100644 --- a/sw/source/core/doc/docftn.cxx +++ b/sw/source/core/doc/docftn.cxx @@ -284,7 +284,6 @@ SwFootnoteInfo::SwFootnoteInfo(const SwFootnoteInfo& rInfo) : } SwFootnoteInfo::SwFootnoteInfo() : - SwEndNoteInfo(), m_ePos( FTNPOS_PAGE ), m_eNum( FTNNUM_DOC ) { diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 953dbfa4e749..8d449d3382a6 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -249,7 +249,6 @@ SwDoc::SwDoc() mpExtInputRing( nullptr ), mpGrammarContact(createGrammarContact()), mpCellStyles(new SwCellStyleTable), - m_pXmlIdRegistry(), mReferenceCount(0), mbDtor(false), mbCopyIsMove(false), diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx index b931646aaa2c..5819947544c2 100644 --- a/sw/source/core/doc/docnum.cxx +++ b/sw/source/core/doc/docnum.cxx @@ -1227,8 +1227,7 @@ namespace ListStyleData() : pReplaceNumRule( nullptr ), - bCreateNewList( false ), - sListId() + bCreateNewList( false ) {} }; } diff --git a/sw/source/core/doc/list.cxx b/sw/source/core/doc/list.cxx index a26a677619d9..d4841ebb73db 100644 --- a/sw/source/core/doc/list.cxx +++ b/sw/source/core/doc/list.cxx @@ -29,7 +29,6 @@ SwList::SwList( const OUString& sListId, const SwNodes& rNodes ) : msListId( sListId ), msDefaultListStyleName( rDefaultListStyle.GetName() ), - maListTrees(), mnMarkedListLevel( MAXLEVEL ) { // create empty list trees for the document ranges diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index 97c7eb8e7319..b7fcec50fff2 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -145,11 +145,7 @@ static void lcl_PaintReplacement( const SwRect &rRect, const OUString &rText, } SwNoTextFrame::SwNoTextFrame(SwNoTextNode * const pNode, SwFrame* pSib ) -: SwContentFrame( pNode, pSib ), - // RotateFlyFrame3 - mpTransformableSwFrame(), - // MM02 - mpViewContact() +: SwContentFrame( pNode, pSib ) { mnFrameType = SwFrameType::NoTxt; } @@ -1085,8 +1081,7 @@ sdr::contact::ViewObjectContact& ViewContactOfSwNoTextFrame::CreateObjectSpecifi ViewContactOfSwNoTextFrame::ViewContactOfSwNoTextFrame( const SwNoTextFrame& rSwNoTextFrame ) -: sdr::contact::ViewContact(), - mrSwNoTextFrame(rSwNoTextFrame) +: mrSwNoTextFrame(rSwNoTextFrame) { } } // end of anonymous namespace diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index e1fe300dda37..6884418752ad 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -356,9 +356,7 @@ const SwFormatVertOrient* SwNumFormat::GetGraphicOrientation() const SwNumRule::SwNumRule( const OUString& rNm, const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode, SwNumRuleType eType ) - : maTextNodeList(), - maParagraphStyleList(), - mpNumRuleMap(nullptr), + : mpNumRuleMap(nullptr), msName( rNm ), meRuleType( eType ), mnPoolFormatId( USHRT_MAX ), @@ -371,8 +369,7 @@ SwNumRule::SwNumRule( const OUString& rNm, mbHidden( false ), mbCountPhantoms( true ), mbUsedByRedline( false ), - meDefaultNumberFormatPositionAndSpaceMode( eDefaultNumberFormatPositionAndSpaceMode ), - msDefaultListId() + meDefaultNumberFormatPositionAndSpaceMode( eDefaultNumberFormatPositionAndSpaceMode ) { if( !snRefCount++ ) // for the first time, initialize { @@ -444,9 +441,7 @@ SwNumRule::SwNumRule( const OUString& rNm, } SwNumRule::SwNumRule( const SwNumRule& rNumRule ) - : maTextNodeList(), - maParagraphStyleList(), - mpNumRuleMap(nullptr), + : mpNumRuleMap(nullptr), msName( rNumRule.msName ), meRuleType( rNumRule.meRuleType ), mnPoolFormatId( rNumRule.GetPoolFormatId() ), diff --git a/sw/source/core/doc/swstylemanager.cxx b/sw/source/core/doc/swstylemanager.cxx index 92297f35c2c7..eec167202e2d 100644 --- a/sw/source/core/doc/swstylemanager.cxx +++ b/sw/source/core/doc/swstylemanager.cxx @@ -65,8 +65,7 @@ class SwStyleManager : public IStyleAccess public: // accept empty item set for ignorable paragraph items. explicit SwStyleManager(SfxItemSet const* pIgnorableParagraphItems) - : m_aAutoCharPool() - , m_aAutoParaPool(pIgnorableParagraphItems) + : m_aAutoParaPool(pIgnorableParagraphItems) {} virtual std::shared_ptr<SfxItemSet> getAutomaticStyle( const SfxItemSet& rSet, IStyleAccess::SwAutoStyleFamily eFamily, diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx index 37a78e017f20..5f4538fd176a 100644 --- a/sw/source/core/doc/tblafmt.cxx +++ b/sw/source/core/doc/tblafmt.cxx @@ -181,8 +181,7 @@ public: }; SwAfVersions::SwAfVersions() -: AutoFormatVersions(), - m_nTextOrientationVersion(0), +: m_nTextOrientationVersion(0), m_nVerticalAlignmentVersion(0) { } @@ -216,13 +215,10 @@ void SwAfVersions::Write(SvStream& rStream, sal_uInt16 fileVersion) SwBoxAutoFormat::SwBoxAutoFormat() -: AutoFormatBase(), - m_aTextOrientation(std::make_unique<SvxFrameDirectionItem>(SvxFrameDirection::Environment, RES_FRAMEDIR)), +: m_aTextOrientation(std::make_unique<SvxFrameDirectionItem>(SvxFrameDirection::Environment, RES_FRAMEDIR)), m_aVerticalAlignment(std::make_unique<SwFormatVertOrient>(0, css::text::VertOrientation::NONE, css::text::RelOrientation::FRAME)), - m_sNumFormatString(), m_eSysLanguage(::GetAppLanguage()), - m_eNumFormatLanguage(::GetAppLanguage()), - m_wXObject() + m_eNumFormatLanguage(::GetAppLanguage()) { // need to set default instances for base class AutoFormatBase here // due to resource defines (e.g. RES_CHRATR_FONT) which are not available @@ -270,8 +266,7 @@ SwBoxAutoFormat::SwBoxAutoFormat( const SwBoxAutoFormat& rNew ) m_aVerticalAlignment(rNew.m_aVerticalAlignment->Clone()), m_sNumFormatString( rNew.m_sNumFormatString ), m_eSysLanguage( rNew.m_eSysLanguage ), - m_eNumFormatLanguage( rNew.m_eNumFormatLanguage ), - m_wXObject() + m_eNumFormatLanguage( rNew.m_eNumFormatLanguage ) { } @@ -385,8 +380,7 @@ SwTableAutoFormat::SwTableAutoFormat( const OUString& rName ) } SwTableAutoFormat::SwTableAutoFormat( const SwTableAutoFormat& rNew ) - : m_aKeepWithNextPara() - , m_aShadow(std::make_shared<SvxShadowItem>(RES_SHADOW)) + : m_aShadow(std::make_shared<SvxShadowItem>(RES_SHADOW)) { for(SwBoxAutoFormat* & rp : m_aBoxAutoFormat) rp = nullptr; diff --git a/sw/source/core/docnode/finalthreadmanager.cxx b/sw/source/core/docnode/finalthreadmanager.cxx index 4eb94f38f0cc..45bdc13be2d1 100644 --- a/sw/source/core/docnode/finalthreadmanager.cxx +++ b/sw/source/core/docnode/finalthreadmanager.cxx @@ -38,9 +38,7 @@ class CancelJobsThread : public osl::Thread { public: explicit CancelJobsThread( const std::list< css::uno::Reference< css::util::XCancellable > >& rJobs ) - : osl::Thread(), - maMutex(), - maJobs( rJobs ), + : maJobs( rJobs ), mbAllJobsCancelled( false ), mbStopped( false ) { @@ -148,9 +146,7 @@ class TerminateOfficeThread : public osl::Thread public: TerminateOfficeThread( CancelJobsThread const & rCancelJobsThread, css::uno::Reference< css::uno::XComponentContext > const & xContext ) - : osl::Thread(), - maMutex(), - mrCancelJobsThread( rCancelJobsThread ), + : mrCancelJobsThread( rCancelJobsThread ), mbStopOfficeTermination( false ), mxContext( xContext ) { @@ -228,8 +224,6 @@ void SAL_CALL TerminateOfficeThread::onTerminated() FinalThreadManager::FinalThreadManager(css::uno::Reference< css::uno::XComponentContext > const & context) : m_xContext(context), - maMutex(), - maThreads(), mpTerminateOfficeThread( nullptr ), mbRegisteredAtDesktop( false ) { diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index 89834dc00e9b..40877999d50a 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -3282,8 +3282,7 @@ class SplitTable_Para public: SplitTable_Para(SwTableNode* pNew, SwTable& rOld) - : m_aSrcDestMap() - , m_pNewTableNode(pNew) + : m_pNewTableNode(pNew) , m_rOldTable(rOld) {} SwFrameFormat* GetDestFormat( SwFrameFormat* pSrcFormat ) const diff --git a/sw/source/core/docnode/observablethread.cxx b/sw/source/core/docnode/observablethread.cxx index 273dd45c2844..98eaabb29edf 100644 --- a/sw/source/core/docnode/observablethread.cxx +++ b/sw/source/core/docnode/observablethread.cxx @@ -26,8 +26,7 @@ #i73788# */ ObservableThread::ObservableThread() - : mnThreadID( 0 ), - mpThreadListener() + : mnThreadID( 0 ) { } diff --git a/sw/source/core/docnode/retrieveinputstream.cxx b/sw/source/core/docnode/retrieveinputstream.cxx index cfe313ae588b..299f732cee30 100644 --- a/sw/source/core/docnode/retrieveinputstream.cxx +++ b/sw/source/core/docnode/retrieveinputstream.cxx @@ -39,8 +39,7 @@ SwAsyncRetrieveInputStreamThread::SwAsyncRetrieveInputStreamThread( const SwRetrievedInputStreamDataManager::tDataKey nDataKey, const OUString& rLinkedURL, const OUString& rReferer ) - : ObservableThread(), - mnDataKey( nDataKey ), + : mnDataKey( nDataKey ), mrLinkedURL( rLinkedURL ), mrReferer( rReferer ) { diff --git a/sw/source/core/docnode/threadlistener.cxx b/sw/source/core/docnode/threadlistener.cxx index 5ace4c00231a..cba118e46fa1 100644 --- a/sw/source/core/docnode/threadlistener.cxx +++ b/sw/source/core/docnode/threadlistener.cxx @@ -24,8 +24,7 @@ #i73788# */ ThreadListener::ThreadListener( ThreadManager& rThreadListenerOwner ) - : IFinishedThreadListener(), - mrThreadListenerOwner( rThreadListenerOwner ) + : mrThreadListenerOwner( rThreadListenerOwner ) { } diff --git a/sw/source/core/docnode/threadmanager.cxx b/sw/source/core/docnode/threadmanager.cxx index 186b5a91b743..311c88e75a4d 100644 --- a/sw/source/core/docnode/threadmanager.cxx +++ b/sw/source/core/docnode/threadmanager.cxx @@ -36,12 +36,8 @@ using namespace ::com::sun::star; const std::deque< ThreadManager::tThreadData >::size_type ThreadManager::snStartedSize = 10; ThreadManager::ThreadManager( uno::Reference< util::XJobManager > const & rThreadJoiner ) - : maMutex(), - mrThreadJoiner( rThreadJoiner ), - mpThreadListener(), + : mrThreadJoiner( rThreadJoiner ), mnThreadIDCounter( 0 ), - maWaitingForStartThreads(), - maStartedThreads(), maStartNewThreadIdle("SW ThreadManager StartNewThreadIdle"), mbStartingOfThreadsSuspended( false ) { diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 45766b78d879..6520706e2fb2 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -697,7 +697,6 @@ bool CheckControlLayer( const SdrObject *pObj ) SwDrawContact::SwDrawContact( SwFrameFormat* pToRegisterIn, SdrObject* pObj ) : SwContact( pToRegisterIn ), - maAnchoredDrawObj(), mbMasterObjCleared( false ), mbDisconnectInProgress( false ), mbUserCallActive( false ), @@ -2217,7 +2216,6 @@ SwDrawVirtObj::SwDrawVirtObj( SdrObject& _rNewObj, SwDrawContact& _rDrawContact) : SdrVirtObj(rSdrModel, _rNewObj ), - maAnchoredDrawObj(), mrDrawContact(_rDrawContact) { // #i26791# @@ -2231,7 +2229,6 @@ SwDrawVirtObj::SwDrawVirtObj( SdrModel& rSdrModel, SwDrawVirtObj const & rSource) : SdrVirtObj(rSdrModel, rSource), - maAnchoredDrawObj(), mrDrawContact(rSource.mrDrawContact) { // #i26791# diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index a0a0b1e58bee..d37a65b83482 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -163,8 +163,7 @@ namespace drawinglayer::primitive2d SwVirtFlyDrawObjPrimitive( const SwVirtFlyDrawObj& rSwVirtFlyDrawObj, const basegfx::B2DRange &rOuterRange) - : BufferedDecompositionPrimitive2D(), - mrSwVirtFlyDrawObj(rSwVirtFlyDrawObj), + : mrSwVirtFlyDrawObj(rSwVirtFlyDrawObj), maOuterRange(rOuterRange) { } diff --git a/sw/source/core/fields/fldbas.cxx b/sw/source/core/fields/fldbas.cxx index 0281c7d45acb..c5363c826c39 100644 --- a/sw/source/core/fields/fldbas.cxx +++ b/sw/source/core/fields/fldbas.cxx @@ -226,8 +226,7 @@ SwField::SwField( sal_uInt32 nFormat, LanguageType nLang, bool bUseFieldValueCache) - : m_Cache() - , m_pType( pType ) + : m_pType( pType ) , m_nFormat( nFormat ) , m_nLang( nLang ) , m_bUseFieldValueCache( bUseFieldValueCache ) diff --git a/sw/source/core/fields/postithelper.cxx b/sw/source/core/fields/postithelper.cxx index 18dd7cc10c71..b0143a291128 100644 --- a/sw/source/core/fields/postithelper.cxx +++ b/sw/source/core/fields/postithelper.cxx @@ -120,7 +120,6 @@ SwSidebarItem::SwSidebarItem(const bool aFocus) , mbFocus(aFocus) , mbPendingLayout(false) , mLayoutStatus(SwPostItHelper::INVISIBLE) - , maLayoutInfo() { } diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 680f142ef1d6..7bf8c3c69f89 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -63,7 +63,6 @@ SwGrfNode::SwGrfNode( SwGrfFormatColl *pGrfColl, SwAttrSet const * pAutoAttr ) : SwNoTextNode( rWhere, SwNodeType::Grf, pGrfColl, pAutoAttr ), - maGrfObj(), mbInBaseLinkSwapIn(true), // #i73788# mbLinkedInputStreamReady( false ), @@ -102,7 +101,6 @@ SwGrfNode::SwGrfNode( const SwNodeIndex & rWhere, SwGrfFormatColl *pGrfColl, SwAttrSet const * pAutoAttr ) : SwNoTextNode( rWhere, SwNodeType::Grf, pGrfColl, pAutoAttr ), - maGrfObj(), mbInBaseLinkSwapIn(true), // #i73788# mbLinkedInputStreamReady( false ), diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx index 9ee3bd01f098..f0458f300bdc 100644 --- a/sw/source/core/layout/anchoreddrawobject.cxx +++ b/sw/source/core/layout/anchoreddrawobject.cxx @@ -193,7 +193,6 @@ bool SwObjPosOscillationControl::OscillationDetected() SwAnchoredDrawObject::SwAnchoredDrawObject() : - SwAnchoredObject(), mbValidPos( false ), mbNotYetAttachedToAnchorFrame( true ), // --> #i28749# diff --git a/sw/source/core/layout/anchoredobject.cxx b/sw/source/core/layout/anchoredobject.cxx index fa14bc6f743d..a2e182870f55 100644 --- a/sw/source/core/layout/anchoredobject.cxx +++ b/sw/source/core/layout/anchoredobject.cxx @@ -72,8 +72,6 @@ SwAnchoredObject::SwAnchoredObject() : mpAnchorFrame( nullptr ), // --> #i28701# mpPageFrame( nullptr ), - maRelPos(), - maLastCharRect(), mnLastTopOfLine( 0 ), mpVertPosOrientFrame( nullptr ), // --> #i28701# @@ -87,10 +85,7 @@ SwAnchoredObject::SwAnchoredObject() : mbClearedEnvironment( false ), // --> #i3317# mbTmpConsiderWrapInfluence( false ), - // --> #i68520# - maObjRectWithSpaces(), - mbObjRectWithSpacesValid( false ), - maLastObjRect() + mbObjRectWithSpacesValid( false ) { } diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx index df55753f9b68..adcc38806465 100644 --- a/sw/source/core/layout/atrfrm.cxx +++ b/sw/source/core/layout/atrfrm.cxx @@ -2518,8 +2518,6 @@ SwFrameFormat::SwFrameFormat( sal_uInt16 nFormatWhich, const WhichRangesContainer& pWhichRange) : SwFormat(rPool, pFormatNm, pWhichRange, pDrvdFrame, nFormatWhich), - m_wXObject(), - maFillAttributes(), m_ffList(nullptr), m_pOtherTextBoxFormat(nullptr) { @@ -2532,8 +2530,6 @@ SwFrameFormat::SwFrameFormat( sal_uInt16 nFormatWhich, const WhichRangesContainer& pWhichRange) : SwFormat(rPool, rFormatNm, pWhichRange, pDrvdFrame, nFormatWhich), - m_wXObject(), - maFillAttributes(), m_ffList(nullptr), m_pOtherTextBoxFormat(nullptr) { diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index 6f4b774dd3a4..4f82c8e3b8af 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -80,7 +80,7 @@ static SwTwips lcl_CalcAutoWidth( const SwLayoutFrame& rFrame ); SwFlyFrame::SwFlyFrame( SwFlyFrameFormat *pFormat, SwFrame* pSib, SwFrame *pAnch ) : SwLayoutFrame( pFormat, pSib ), - SwAnchoredObject(), // #i26791# + // #i26791# m_pPrevLink( nullptr ), m_pNextLink( nullptr ), m_bInCnt( false ), diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx index 6f46da0baba5..b39fdd3452ec 100644 --- a/sw/source/core/layout/flylay.cxx +++ b/sw/source/core/layout/flylay.cxx @@ -56,10 +56,7 @@ SwFlyFreeFrame::SwFlyFreeFrame( SwFlyFrameFormat *pFormat, SwFrame* pSib, SwFram // #i34753# mbNoMakePos( false ), // #i37068# - mbNoMoveOnCheckClip( false ), - maUnclippedFrame(), - // RotateFlyFrame3 - mpTransformableSwFrame() + mbNoMoveOnCheckClip( false ) { } diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx index be525f776625..ba81e1f914df 100644 --- a/sw/source/core/layout/newfrm.cxx +++ b/sw/source/core/layout/newfrm.cxx @@ -399,7 +399,6 @@ void InitCurrShells( SwRootFrame *pRoot ) SwRootFrame::SwRootFrame( SwFrameFormat *pFormat, SwViewShell * pSh ) : SwLayoutFrame( pFormat->GetDoc()->MakeFrameFormat( "Root", pFormat ), nullptr ), - maPagesArea(), mnViewWidth( -1 ), mnColumns( 0 ), mbBookMode( false ), diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 0ac6f55a8ddb..9d9256fa21af 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -4814,8 +4814,7 @@ namespace drawinglayer::primitive2d const svx::frame::Style& rStyleRight, const svx::frame::Style& rStyleBottom, const svx::frame::Style& rStyleLeft) - : BufferedDecompositionPrimitive2D(), - maB2DHomMatrix(rB2DHomMatrix), + : maB2DHomMatrix(rB2DHomMatrix), maStyleTop(rStyleTop), maStyleRight(rStyleRight), maStyleBottom(rStyleBottom), diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx index a01b349f0de8..1e9ace46404f 100644 --- a/sw/source/core/layout/wsfrm.cxx +++ b/sw/source/core/layout/wsfrm.cxx @@ -68,9 +68,7 @@ using namespace ::com::sun::star; SwFrameAreaDefinition::SwFrameAreaDefinition() -: maFrameArea(), - maFramePrintArea(), - mbFrameAreaPositionValid(false), +: mbFrameAreaPositionValid(false), mbFrameAreaSizeValid(false), mbFramePrintAreaValid(false), mnFrameId(SwFrameAreaDefinition::snLastFrameId++) @@ -291,9 +289,7 @@ void TransformableSwFrame::transform(const basegfx::B2DHomMatrix& aTransform) } SwFrame::SwFrame( sw::BroadcastingModify *pMod, SwFrame* pSib ) -: SwFrameAreaDefinition(), - SwClient( pMod ), - SfxBroadcaster(), +: SwClient( pMod ), mpRoot( pSib ? pSib->getRootFrame() : nullptr ), mpUpper(nullptr), mpNext(nullptr), diff --git a/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx b/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx index b6a2d091e7bd..012b575e6850 100644 --- a/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx @@ -50,9 +50,7 @@ SwAsCharAnchoredObjectPosition::SwAsCharAnchoredObjectPosition( mnLineDescent( _nLineDescent ), mnLineAscentInclObjs( _nLineAscentInclObjs ), mnLineDescentInclObjs( _nLineDescentInclObjs ), - maAnchorPos ( Point() ), mnRelPos ( 0 ), - maObjBoundRect ( SwRect() ), mnLineAlignment ( sw::LineAlign::NONE ) {} diff --git a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx index 66014910cdf1..08c768a88706 100644 --- a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx @@ -48,8 +48,6 @@ using namespace ::com::sun::star; SwToContentAnchoredObjectPosition::SwToContentAnchoredObjectPosition( SdrObject& _rDrawObj ) : SwAnchoredObjectPosition ( _rDrawObj ), mpVertPosOrientFrame( nullptr ), - // #i26791# - maOffsetToFrameAnchorPos( Point() ), mbAnchorToChar ( false ), mpToCharOrientFrame( nullptr ), mpToCharRect( nullptr ), diff --git a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx index 5ec6e30609ea..371a3b0536a1 100644 --- a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx @@ -37,10 +37,7 @@ using namespace objectpositioning; using namespace ::com::sun::star; SwToLayoutAnchoredObjectPosition::SwToLayoutAnchoredObjectPosition( SdrObject& _rDrawObj ) - : SwAnchoredObjectPosition( _rDrawObj ), - maRelPos( Point() ), - // #i26791# - maOffsetToFrameAnchorPos( Point() ) + : SwAnchoredObjectPosition( _rDrawObj ) {} SwToLayoutAnchoredObjectPosition::~SwToLayoutAnchoredObjectPosition() diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index 69756da640e5..26079490a2f4 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -697,8 +697,6 @@ private: public: explicit DeflateData(const uno::Reference< frame::XModel >& rXModel) : maXModel(rXModel), - maPrimitive2DSequence(), - maRange(), mbKilled(false), mpTag( comphelper::ThreadPool::createThreadTaskTag() ) { @@ -774,9 +772,7 @@ private: SwOLEObj::SwOLEObj( const svt::EmbeddedObjectRef& xObj ) : m_pOLENode( nullptr ), - m_xOLERef( xObj ), - m_aPrimitive2DSequence(), - m_aRange() + m_xOLERef( xObj ) { m_xOLERef.Lock(); if ( xObj.is() ) @@ -788,9 +784,7 @@ SwOLEObj::SwOLEObj( const svt::EmbeddedObjectRef& xObj ) : SwOLEObj::SwOLEObj( const OUString &rString, sal_Int64 nAspect ) : m_pOLENode( nullptr ), - m_aName( rString ), - m_aPrimitive2DSequence(), - m_aRange() + m_aName( rString ) { m_xOLERef.Lock(); m_xOLERef.SetViewAspect( nAspect ); diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index 51e57b57b9ac..36eb67fb79a0 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -1453,7 +1453,6 @@ bool SwTable::IsTableComplex() const SwTableLine::SwTableLine( SwTableLineFormat *pFormat, sal_uInt16 nBoxes, SwTableBox *pUp ) : SwClient( pFormat ), - m_aBoxes(), m_pUpper( pUp ) { m_aBoxes.reserve( nBoxes ); diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx index c1fa69bcfc68..7992c1ab0e6f 100644 --- a/sw/source/core/text/portxt.cxx +++ b/sw/source/core/text/portxt.cxx @@ -671,7 +671,6 @@ void SwTextPortion::HandlePortion( SwPortionHandler& rPH ) const } SwTextInputFieldPortion::SwTextInputFieldPortion() - : SwTextPortion() { SetWhichPor( PortionType::InputField ); } diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx index d3319dea4a7a..f4690a9aa496 100644 --- a/sw/source/core/text/txttab.cxx +++ b/sw/source/core/text/txttab.cxx @@ -328,7 +328,7 @@ SwTabPortion *SwTextFormatter::NewTabPortion( SwTextFormatInfo &rInf, bool bAuto * The base class is initialized without setting anything */ SwTabPortion::SwTabPortion( const sal_uInt16 nTabPosition, const sal_Unicode cFillChar, const bool bAutoTab ) - : SwFixPortion(), m_nTabPos(nTabPosition), m_cFill(cFillChar), m_bAutoTabStop( bAutoTab ) + : m_nTabPos(nTabPosition), m_cFill(cFillChar), m_bAutoTabStop( bAutoTab ) { mnLineLength = TextFrameIndex(1); OSL_ENSURE(!IsFilled() || ' ' != m_cFill, "SwTabPortion::CTOR: blanks ?!"); diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index d76444d43011..b865687367e9 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -187,7 +187,6 @@ SwTextNode *SwNodes::MakeTextNode( const SwNodeIndex & rWhere, SwTextNode::SwTextNode( const SwNodeIndex &rWhere, SwTextFormatColl *pTextColl, const SfxItemSet* pAutoAttr ) : SwContentNode( rWhere, SwNodeType::Text, pTextColl ), - m_Text(), m_pParaIdleData_Impl(nullptr), m_bContainsHiddenChars(false), m_bHiddenCharsHidePara(false), @@ -195,10 +194,7 @@ SwTextNode::SwTextNode( const SwNodeIndex &rWhere, SwTextFormatColl *pTextColl, m_bLastOutlineState( false ), m_bNotifiable( false ), mbEmptyListStyleSetDueToSetOutlineLevelAttr( false ), - mbInSetOrResetAttr( false ), - m_pNumStringCache(), - m_wXParagraph(), - maFillAttributes() + mbInSetOrResetAttr( false ) { InitSwParaStatistics( true ); diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx index cf308182c60b..b214da51543d 100644 --- a/sw/source/core/undo/rolbck.cxx +++ b/sw/source/core/undo/rolbck.cxx @@ -1023,8 +1023,7 @@ void SwHistoryChangeCharFormat::SetInDoc(SwDoc * pDoc, bool ) // <- #i27615# SwHistory::SwHistory() - : m_SwpHstry() - , m_nEndDiff( 0 ) + : m_nEndDiff( 0 ) { } diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index e7fe4455eb8f..b54f1779e3f8 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -1069,7 +1069,6 @@ namespace template<FlyCntType T> SwXFrameEnumeration<T>::SwXFrameEnumeration(const SwDoc& rDoc) - : m_aFrames() { SolarMutexGuard aGuard; const SwFrameFormats* const pFormats = rDoc.GetSpzFrameFormats(); diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 2d25547af82c..a2a0faf4f1f8 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -405,7 +405,6 @@ namespace } SwXShapesEnumeration::SwXShapesEnumeration(SwXDrawPage* const pDrawPage) - : m_aShapes() { SolarMutexGuard aGuard; sal_Int32 nCount = pDrawPage->getCount(); diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 72d307dc3fcb..9af79f131220 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -1126,8 +1126,7 @@ namespace { class SwOLEProperties_Impl : public SwFrameProperties_Impl { public: - SwOLEProperties_Impl() : - SwFrameProperties_Impl(/*aSwMapProvider.GetPropertyMap(PROPERTY_MAP_EMBEDDED_OBJECT)*/ ){} + SwOLEProperties_Impl() {} virtual bool AnyToItemSet( SwDoc* pDoc, SfxItemSet& rFrameSet, SfxItemSet& rSet, bool& rSizeFound) override; }; diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx index d34adfeb86f8..d573a590497b 100644 --- a/sw/source/core/unocore/unoportenum.cxx +++ b/sw/source/core/unocore/unoportenum.cxx @@ -315,7 +315,6 @@ SwXTextPortionEnumeration::SwXTextPortionEnumeration( uno::Reference< XText > const & xParentText, const sal_Int32 nStart, const sal_Int32 nEnd ) - : m_Portions() { m_pUnoCursor = rParaCursor.GetDoc().CreateUnoCursor(*rParaCursor.GetPoint()); diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx index c50315cf2494..15c71d7bca61 100644 --- a/sw/source/core/unocore/unosect.cxx +++ b/sw/source/core/unocore/unosect.cxx @@ -125,8 +125,7 @@ public: Impl( SwXTextSection& rThis, SwSectionFormat* const pFormat, const bool bIndexHeader) - : SvtListener() - , m_rThis(rThis) + : m_rThis(rThis) , m_rPropSet(*aSwMapProvider.GetPropertySet(PROPERTY_MAP_SECTION)) , m_EventListeners(m_Mutex) , m_bIndexHeader(bIndexHeader) diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx index 6ca815c0890c..b841134cc21a 100644 --- a/sw/source/core/view/vnew.cxx +++ b/sw/source/core/view/vnew.cxx @@ -145,7 +145,6 @@ SwViewShell::SwViewShell( SwDoc& rDocument, vcl::Window *pWindow, const SwViewOption *pNewOpt, OutputDevice *pOutput, tools::Long nFlags ) : - maBrowseBorder(), mpSfxViewShell( nullptr ), mpImp( new SwViewShellImp( this ) ), mpWin( pWindow ), @@ -163,8 +162,7 @@ SwViewShell::SwViewShell( SwDoc& rDocument, vcl::Window *pWindow, mnLockPaint( 0 ), mbSelectAll(false), mbOutputToWindow(false), - mpPrePostOutDev(nullptr), - maPrePostMapMode() + mpPrePostOutDev(nullptr) { // in order to suppress event handling in // <SwDrawContact::Changed> during construction of <SwViewShell> instance @@ -233,8 +231,7 @@ SwViewShell::SwViewShell( SwViewShell& rShell, vcl::Window *pWindow, mnLockPaint( 0 ), mbSelectAll(false), mbOutputToWindow(false), - mpPrePostOutDev(nullptr), - maPrePostMapMode() + mpPrePostOutDev(nullptr) { // in order to suppress event handling in // <SwDrawContact::Changed> during construction of <SwViewShell> instance diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx index e6d565c54abb..d92d5ea572b6 100644 --- a/sw/source/filter/html/svxcss1.cxx +++ b/sw/source/filter/html/svxcss1.cxx @@ -696,7 +696,6 @@ void SvxCSS1Parser::SelectorParsed( std::unique_ptr<CSS1Selector> pSelector, boo SvxCSS1Parser::SvxCSS1Parser( SfxItemPool& rPool, const OUString& rBaseURL, sal_uInt16 const *pWhichIds, sal_uInt16 nWhichIds ) : - CSS1Parser(), m_sBaseURL( rBaseURL ), m_pItemSet(nullptr), m_pPropInfo( nullptr ), diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx index 3df74ec20818..400cd60e81fb 100644 --- a/sw/source/filter/html/wrthtml.cxx +++ b/sw/source/filter/html/wrthtml.cxx @@ -95,7 +95,6 @@ SwHTMLWriter::SwHTMLWriter( const OUString& rBaseURL, const OUString& rFilterOpt : m_pNumRuleInfo(new SwHTMLNumRuleInfo) , m_nHTMLMode(0) , m_eCSS1Unit(FieldUnit::NONE) - , mxFormComps() , m_pStartNdIdx(nullptr) , m_pCurrPageDesc(nullptr) , m_pFormatFootnote(nullptr) diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index b9cfa3c6bd37..d4067db3703b 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -10097,7 +10097,6 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport &rExport, const FSHelperPtr m_pFootnotesList( new ::docx::FootnotesList() ), m_pEndnotesList( new ::docx::FootnotesList() ), m_footnoteEndnoteRefTag( 0 ), - m_footnoteCustomLabel(), m_pRedlineData( nullptr ), m_nRedlineId( 0 ), m_bOpenedSectPr( false ), @@ -10107,7 +10106,6 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport &rExport, const FSHelperPtr m_bAnchorLinkedToNode(false), m_bWritingField( false ), m_bPreventDoubleFieldsHandling( false ), - m_sFieldBkm( ), m_nNextBookmarkId( 0 ), m_nNextAnnotationMarkId( 0 ), m_nEmbedFlyLevel(0), diff --git a/sw/source/filter/ww8/writerhelper.cxx b/sw/source/filter/ww8/writerhelper.cxx index 6d978c26f30f..33d910fcf8d2 100644 --- a/sw/source/filter/ww8/writerhelper.cxx +++ b/sw/source/filter/ww8/writerhelper.cxx @@ -156,8 +156,6 @@ namespace ww8 Frame::Frame(const Graphic &rGrf, const SwPosition &rPos) : mpFlyFrame(nullptr) , maPos(rPos) - , maSize() - , maLayoutSize() , meWriterType(eBulletGrf) , mpStartFrameContent(nullptr) , mbIsInline(true) @@ -181,15 +179,12 @@ namespace ww8 Frame::Frame(const SwFrameFormat &rFormat, const SwPosition &rPos) : mpFlyFrame(&rFormat) , maPos(rPos) - , maSize() - , maLayoutSize() // #i43447# , meWriterType(eTextBox) , mpStartFrameContent(nullptr) // #i43447# - move to initialization list , mbIsInline( (rFormat.GetAnchor().GetAnchorId() == RndStdIds::FLY_AS_CHAR) ) // #i120928# - handle graphic of bullet within existing implementation , mbForBullet(false) - , maGrf() { switch (rFormat.Which()) { diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 85605cadc510..6c5a5a927eda 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -3938,8 +3938,7 @@ MSWordSections& WW8Export::Sections() const } SwWW8Writer::SwWW8Writer(const OUString& rFltName, const OUString& rBaseURL) - : StgWriter(), - m_pExport( nullptr ), + : m_pExport( nullptr ), mpMedium( nullptr ) { assert(rFltName == FILTER_WW8); // WW6/7 export was removed diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index e02df437f859..08ab320489eb 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -4236,8 +4236,6 @@ SwWW8ImplReader::SwWW8ImplReader(sal_uInt8 nVersionPara, SotStorage* pStorage, , m_pFlyFormatOfJustInsertedGraphic(nullptr) , m_pPreviousNumPaM(nullptr) , m_pPrevNumRule(nullptr) - , m_aTextNodesHavingFirstLineOfstSet() - , m_aTextNodesHavingLeftIndentSet() , m_pCurrentColl(nullptr) , m_pDfltTextFormatColl(nullptr) , m_pStandardFormatColl(nullptr) @@ -4319,7 +4317,6 @@ SwWW8ImplReader::SwWW8ImplReader(sal_uInt8 nVersionPara, SotStorage* pStorage, , m_pPreviousNode(nullptr) , m_bCareFirstParaEndInToc(false) , m_bCareLastParaEndInToc(false) - , m_aTOXEndCps() , m_bNotifyMacroEventRead(false) , m_bFuzzing(utl::ConfigManager::IsFuzzing()) { diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index 803cc78a04bb..c55d5c5667a5 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -213,12 +213,7 @@ public: RedlineInfo::RedlineInfo() : eType(RedlineType::Insert), - sAuthor(), - sComment(), - aDateTime(), bMergeLastParagraph( false ), - aAnchorStart(), - aAnchorEnd(), pContentIndex(nullptr), pNextRedline(nullptr), bNeedsAdjustment( false ) @@ -240,12 +235,10 @@ XMLRedlineImportHelper::XMLRedlineImportHelper( bool bNoRedlinesPlease, const Reference<XPropertySet> & rModel, const Reference<XPropertySet> & rImportInfo ) - : m_rImport(rImport) - , + : m_rImport(rImport), m_sInsertion( GetXMLToken( XML_INSERTION )), m_sDeletion( GetXMLToken( XML_DELETION )), m_sFormatChange( GetXMLToken( XML_FORMAT_CHANGE )), - m_aRedlineMap(), m_bIgnoreRedlines(bNoRedlinesPlease), m_xModelPropertySet(rModel), m_xImportInfoPropertySet(rImportInfo) diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 32f9c1ea5c63..439c7df0f631 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -372,7 +372,6 @@ SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl( const Reference< xml::sax::XFastAttributeList > & xAttrList, SwXMLTableContext *pTable ) : SvXMLImportContext( rImport ), - m_sFormula(), m_xMyTable( pTable ), m_fValue( 0.0 ), m_bHasValue( false ), @@ -952,10 +951,6 @@ public: SwXMLDDETableContext_Impl::SwXMLDDETableContext_Impl(SwXMLImport& rImport) : SvXMLImportContext(rImport), - m_sConnectionName(), - m_sDDEApplication(), - m_sDDEItem(), - m_sDDETopic(), m_bIsAutomaticUpdate(false) { } diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx index 94f3397046fc..7eb82c575bc4 100644 --- a/sw/source/ui/fldui/fldref.cxx +++ b/sw/source/ui/fldui/fldref.cxx @@ -51,8 +51,6 @@ static sal_uInt16 nFieldDlgFormatSel = 0; SwFieldRefPage::SwFieldRefPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *const pCoreSet ) : SwFieldPage(pPage, pController, "modules/swriter/ui/fldrefpage.ui", "FieldRefPage", pCoreSet) - , maOutlineNodes() - , maNumItems() , mpSavedSelectedTextNode(nullptr) , mnSavedSelectedPos(0) , m_xTypeLB(m_xBuilder->weld_tree_view("type")) diff --git a/sw/source/uibase/app/swwait.cxx b/sw/source/uibase/app/swwait.cxx index f76b79d0bc70..62d8b277d644 100644 --- a/sw/source/uibase/app/swwait.cxx +++ b/sw/source/uibase/app/swwait.cxx @@ -30,7 +30,6 @@ SwWait::SwWait( const bool bLockUnlockDispatcher ) : mrDoc ( rDocShell ) , mbLockUnlockDispatcher( bLockUnlockDispatcher ) - , mpLockedDispatchers() { EnterWaitAndLockDispatcher(); } diff --git a/sw/source/uibase/dbui/dbui.cxx b/sw/source/uibase/dbui/dbui.cxx index ecec850322b0..a2fb02345f1e 100644 --- a/sw/source/uibase/dbui/dbui.cxx +++ b/sw/source/uibase/dbui/dbui.cxx @@ -49,7 +49,6 @@ PrintMonitor::~PrintMonitor() CreateMonitor::CreateMonitor(weld::Window *pParent) : GenericDialogController(pParent, "modules/swriter/ui/mmcreatingdialog.ui", "MMCreatingDialog") - , m_sCountingPattern() , m_nTotalCount(0) , m_nCurrentPosition(0) , m_xCounting(m_xBuilder->weld_label("progress")) diff --git a/sw/source/uibase/docvw/AnchorOverlayObject.cxx b/sw/source/uibase/docvw/AnchorOverlayObject.cxx index 804628cc0b7b..f79dc813984d 100644 --- a/sw/source/uibase/docvw/AnchorOverlayObject.cxx +++ b/sw/source/uibase/docvw/AnchorOverlayObject.cxx @@ -64,8 +64,7 @@ public: const basegfx::BColor& rColor, double fDiscreteLineWidth, bool bLineSolid ) - : drawinglayer::primitive2d::DiscreteMetricDependentPrimitive2D(), - maTriangle(rTriangle), + : maTriangle(rTriangle), maLine(rLine), maLineTop(rLineTop), maAnchorState(aAnchorState), @@ -229,9 +228,6 @@ AnchorOverlayObject::AnchorOverlayObject( const basegfx::B2DPoint& rBasePos, , maFifthPosition(rFifthPos) , maSixthPosition(rSixthPos) , maSeventhPosition(rSeventhPos) - , maTriangle() - , maLine() - , maLineTop() , mAnchorState(AnchorState::All) , mbLineSolid(false) { diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx index 7ecc4889b5fc..84d7e47cfb31 100644 --- a/sw/source/uibase/docvw/AnnotationWin.cxx +++ b/sw/source/uibase/docvw/AnnotationWin.cxx @@ -92,13 +92,7 @@ SwAnnotationWin::SwAnnotationWin( SwEditWin& rEditWin, , mrMgr(aMgr) , mrView(rEditWin.GetView()) , mnEventId(nullptr) - , mColorAnchor() - , mColorDark() - , mColorLight() - , mChangeColor() , meSidebarPosition(sw::sidebarwindows::SidebarPosition::NONE) - , mPosSize() - , mAnchorRect() , mPageBorder(0) , mbAnchorRectChanged(false) , mbResolvedStateUpdated(false) diff --git a/sw/source/uibase/docvw/FrameControlsManager.cxx b/sw/source/uibase/docvw/FrameControlsManager.cxx index f66150fc6d73..d83207c7e6fa 100644 --- a/sw/source/uibase/docvw/FrameControlsManager.cxx +++ b/sw/source/uibase/docvw/FrameControlsManager.cxx @@ -28,8 +28,7 @@ using namespace std; SwFrameControlsManager::SwFrameControlsManager( SwEditWin* pEditWin ) : - m_pEditWin( pEditWin ), - m_aControls( ) + m_pEditWin( pEditWin ) { } diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx index d8ae3e80d062..2c53dbf3daf9 100644 --- a/sw/source/uibase/docvw/HeaderFooterWin.cxx +++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx @@ -167,8 +167,7 @@ SwHeaderFooterWin::SwHeaderFooterWin( SwEditWin* pEditWin, const SwFrame *pFrame m_bIsHeader( bHeader ), m_pLine( nullptr ), m_bIsAppearing( false ), - m_nFadeRate( 100 ), - m_aFadeTimer( ) + m_nFadeRate( 100 ) { m_xVirDev = m_xMenuButton->create_virtual_device(); SetVirDevFont(); diff --git a/sw/source/uibase/docvw/ShadowOverlayObject.cxx b/sw/source/uibase/docvw/ShadowOverlayObject.cxx index 0e51635aecde..8cdae0a60dfe 100644 --- a/sw/source/uibase/docvw/ShadowOverlayObject.cxx +++ b/sw/source/uibase/docvw/ShadowOverlayObject.cxx @@ -55,8 +55,7 @@ public: const basegfx::B2DPoint& rBasePosition, const basegfx::B2DPoint& rSecondPosition, ShadowState aShadowState) - : drawinglayer::primitive2d::DiscreteMetricDependentPrimitive2D(), - maBasePosition(rBasePosition), + : maBasePosition(rBasePosition), maSecondPosition(rSecondPosition), maShadowState(aShadowState) {} diff --git a/sw/source/uibase/docvw/SidebarWinAcc.cxx b/sw/source/uibase/docvw/SidebarWinAcc.cxx index 5859ebc83199..9c2247c0e55f 100644 --- a/sw/source/uibase/docvw/SidebarWinAcc.cxx +++ b/sw/source/uibase/docvw/SidebarWinAcc.cxx @@ -41,7 +41,6 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent : VCLXAccessibleComponent( dynamic_cast<VCLXWindow*>(rSidebarWin.CreateAccessible().get()) ) , mrViewShell( rViewShell ) , mpAnchorFrame( pAnchorFrame ) - , maMutex() { rSidebarWin.SetAccessibleRole( css::accessibility::AccessibleRole::COMMENT ); } @@ -98,8 +97,7 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent SidebarWinAccessible::SidebarWinAccessible( sw::annotation::SwAnnotationWin& rSidebarWin, SwViewShell& rViewShell, const SwSidebarItem& rSidebarItem ) - : VCLXWindow() - , mrSidebarWin( rSidebarWin ) + : mrSidebarWin( rSidebarWin ) , mrViewShell( rViewShell ) , mpAnchorFrame( rSidebarItem.maLayoutInfo.mpAnchorFrame ) , bAccContextCreated( false ) diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index 1ddeda1b7fb2..8d2c5f43afe3 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -425,7 +425,6 @@ SwSpellPopup::SwSpellPopup( , m_nRedlineNextId(m_xPopupMenu->GetItemId("next")) , m_nRedlinePrevId(m_xPopupMenu->GetItemId("prev")) , m_pSh(pWrtSh) - , m_sExplanationLink() , m_bGrammarResults(true) { m_nCheckedLanguage = LanguageTag::convertToLanguageType( rResult.aLocale ); diff --git a/sw/source/uibase/misc/glshell.cxx b/sw/source/uibase/misc/glshell.cxx index a0202a513cfc..634e396d44de 100644 --- a/sw/source/uibase/misc/glshell.cxx +++ b/sw/source/uibase/misc/glshell.cxx @@ -164,7 +164,6 @@ bool SwGlosDocShell::Save() } SwWebGlosDocShell::SwWebGlosDocShell() - : SwWebDocShell() { } diff --git a/sw/source/uibase/sidebar/PageFooterPanel.cxx b/sw/source/uibase/sidebar/PageFooterPanel.cxx index fe039942d5b9..4abe1b471464 100644 --- a/sw/source/uibase/sidebar/PageFooterPanel.cxx +++ b/sw/source/uibase/sidebar/PageFooterPanel.cxx @@ -59,7 +59,6 @@ PageFooterPanel::PageFooterPanel( maFooterSpacingController(SID_ATTR_PAGE_FOOTER_SPACING, *pBindings, *this), maFooterLayoutController(SID_ATTR_PAGE_FOOTER_LAYOUT, *pBindings, *this), meFUnit(GetModuleFieldUnit()), - aCustomEntry(), mpFooterItem( new SfxBoolItem(SID_ATTR_PAGE_FOOTER) ), mpFooterLRMarginItem( new SvxLongLRSpaceItem(0, 0, SID_ATTR_PAGE_FOOTER_LRMARGIN)), mpFooterSpacingItem( new SvxLongULSpaceItem(0, 0, SID_ATTR_PAGE_FOOTER_SPACING)), diff --git a/sw/source/uibase/sidebar/PageFormatPanel.cxx b/sw/source/uibase/sidebar/PageFormatPanel.cxx index fc83f57a03f1..3839b7719147 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.cxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.cxx @@ -98,8 +98,7 @@ PageFormatPanel::PageFormatPanel(weld::Widget* pParent, SfxBindings* pBindings) mpPageLRMarginItem( new SvxLongLRSpaceItem( 0, 0, SID_ATTR_PAGE_LRSPACE ) ), mpPageULMarginItem( new SvxLongULSpaceItem( 0, 0, SID_ATTR_PAGE_ULSPACE ) ), meFUnit(GetModuleFieldUnit()), - meUnit(), - aCustomEntry() + meUnit() { Initialize(); } diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.cxx b/sw/source/uibase/sidebar/PageHeaderPanel.cxx index 339d9c2ccc9f..bb64c5c651fc 100644 --- a/sw/source/uibase/sidebar/PageHeaderPanel.cxx +++ b/sw/source/uibase/sidebar/PageHeaderPanel.cxx @@ -63,7 +63,6 @@ PageHeaderPanel::PageHeaderPanel( maHeaderSpacingController(SID_ATTR_PAGE_HEADER_SPACING, *pBindings, *this), maHeaderLayoutController(SID_ATTR_PAGE_HEADER_LAYOUT, *pBindings, *this), meFUnit(GetModuleFieldUnit()), - aCustomEntry(), mpHeaderItem( new SfxBoolItem(SID_ATTR_PAGE_HEADER) ), mpHeaderLRMarginItem( new SvxLongLRSpaceItem(0, 0, SID_ATTR_PAGE_HEADER_LRMARGIN)), mpHeaderSpacingItem( new SvxLongULSpaceItem(0, 0, SID_ATTR_PAGE_HEADER_SPACING)), diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx index 392222812741..7ccee9bd302e 100644 --- a/sw/source/uibase/sidebar/PageSizeControl.cxx +++ b/sw/source/uibase/sidebar/PageSizeControl.cxx @@ -77,7 +77,6 @@ PageSizeControl::PageSizeControl(PageSizePopup* pControl, weld::Widget* pParent) , mxSizeValueSet(new svx::sidebar::ValueSetWithTextControl) , mxSizeValueSetWin(new weld::CustomWeld(*m_xBuilder, "pagesizevalueset", *mxSizeValueSet)) , mxControl(pControl) - , maPaperList() { mxWidthHeightField->set_unit(FieldUnit::CM); mxWidthHeightField->set_range(0, 9999, FieldUnit::NONE); diff --git a/sw/source/uibase/sidebar/PageStylesPanel.cxx b/sw/source/uibase/sidebar/PageStylesPanel.cxx index 4a904919d0ba..114349ba194d 100644 --- a/sw/source/uibase/sidebar/PageStylesPanel.cxx +++ b/sw/source/uibase/sidebar/PageStylesPanel.cxx @@ -109,8 +109,7 @@ PageStylesPanel::PageStylesPanel( mxColumnCount(m_xBuilder->weld_combo_box("columnbox")), mxNumberSelectLB(new SvxPageNumberListBox(m_xBuilder->weld_combo_box("numberbox"))), mxBgFillType(m_xBuilder->weld_combo_box("bgselect")), - mxCustomEntry(m_xBuilder->weld_label("customlabel")), - aCustomEntry() + mxCustomEntry(m_xBuilder->weld_label("customlabel")) { Initialize(); } diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx index 68c24eb08571..974f32cb0fa6 100644 --- a/sw/source/uibase/sidebar/ThemePanel.cxx +++ b/sw/source/uibase/sidebar/ThemePanel.cxx @@ -97,7 +97,6 @@ class StyleSet public: explicit StyleSet() - : maStyles() {} void add(StyleRedefinition const & aRedefinition) @@ -436,7 +435,6 @@ ThemePanel::ThemePanel(weld::Widget* pParent) , mxValueSetColors(new ValueSet(nullptr)) , mxValueSetColorsWin(new weld::CustomWeld(*m_xBuilder, "valueset_colors", *mxValueSetColors)) , mxApplyButton(m_xBuilder->weld_button("apply")) - , maColorSets() { mxValueSetColors->SetColCount(2); mxValueSetColors->SetLineCount(3); diff --git a/sw/source/uibase/uiview/uivwimp.cxx b/sw/source/uibase/uiview/uivwimp.cxx index 6ad240701960..ba1d84d304cc 100644 --- a/sw/source/uibase/uiview/uivwimp.cxx +++ b/sw/source/uibase/uiview/uivwimp.cxx @@ -48,8 +48,7 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::datatransfer::clipboard; SwView_Impl::SwView_Impl(SwView* pShell) - : mxXTextView() - , pView(pShell) + : pView(pShell) , eShellMode(ShellMode::Text) , m_nParam(0) , m_bSelectObject(false) diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index 44fe733886bd..72916926c2c5 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -208,9 +208,7 @@ static rtl::Reference<ChainablePropertySetInfo> lcl_createPrintSettingsInfo() return new ChainablePropertySetInfo ( aPrintSettingsMap_Impl ); } -SwXModule::SwXModule() : - mxViewSettings(), - mxPrintSettings() +SwXModule::SwXModule() { } diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index e778f4fc8621..36195079e542 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -370,33 +370,8 @@ SwXTextDocument::SwXTextDocument(SwDocShell* pShell) , m_pImpl(new Impl) , m_pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_TEXT_DOCUMENT)), - m_pDocShell(pShell), - m_bObjectValid(pShell != nullptr), - - mxXNumberingRules(), - mxXFootnotes(), - mxXFootnoteSettings(), - mxXEndnotes(), - mxXEndnoteSettings(), - mxXReferenceMarks(), - mxXTextFieldTypes(), - mxXTextFieldMasters(), - mxXTextSections(), - mxXBookmarks(), - mxXTextTables(), - mxXTextFrames(), - mxXGraphicObjects(), - mxXEmbeddedObjects(), - mxXStyleFamilies(), - mxXAutoStyles(), - mxXChapterNumbering(), - mxXDocumentIndexes(), - - mxXLineNumberingProperties(), - mxLinkTargetSupplier(), - mxXRedlines(), m_pHiddenViewFrame(nullptr), // #i117783# m_bApplyPagePrintSettingsFromXPagePrintable( false ) diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index d1acaa8f9e10..eab83a072c1f 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -88,9 +88,7 @@ SwXTextView::SwXTextView(SwView* pSwView) : SfxBaseController(pSwView), m_SelChangedListeners(m_aMutex), m_pView(pSwView), - m_pPropSet( aSwMapProvider.GetPropertySet( PROPERTY_MAP_TEXT_VIEW ) ), - mxViewSettings(), - mxTextViewCursor() + m_pPropSet( aSwMapProvider.GetPropertySet( PROPERTY_MAP_TEXT_VIEW ) ) { }