diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-03 08:32:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-03 09:56:59 +0200 |
commit | 58364e04cc4c5451af2086bdb01145ec89da2b8e (patch) | |
tree | 178f1048cd2dc8429dc114075d2352beecdc0c55 /svl | |
parent | d25906087918c085239aac30fd72cb65aa7b9eb4 (diff) |
clang-tidy:readability-redundant-member-init
Change-Id: I6a2a36c28fafac7002fbe093b22ad186562ea5c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121543
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/style.cxx | 1 | ||||
-rw-r--r-- | svl/source/items/stylepool.cxx | 10 | ||||
-rw-r--r-- | svl/source/numbers/numfmuno.cxx | 1 | ||||
-rw-r--r-- | svl/source/undo/undo.cxx | 2 |
4 files changed, 3 insertions, 11 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 2e54c9f53439..791a625a7219 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -104,7 +104,6 @@ SfxStyleSheetBase::SfxStyleSheetBase( const OUString& rName, SfxStyleSheetBasePo : m_pPool( p ) , nFamily( eFam ) , aName( rName ) - , aParent() , aFollow( rName ) , pSet( nullptr ) , nMask(mask) diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx index c241e61e85a1..b74d0cb94729 100644 --- a/svl/source/items/stylepool.cxx +++ b/svl/source/items/stylepool.cxx @@ -46,15 +46,11 @@ namespace { public: // #i86923# Node() // root node Ctor - : mChildren(), - maItemSet(), - mpUpper( nullptr ), + : mpUpper( nullptr ), mbIsItemIgnorable( false ) {} Node( const SfxPoolItem& rItem, Node* pParent, const bool bIgnorable ) // child node Ctor - : mChildren(), - maItemSet(), - mpItem( rItem.Clone() ), + : mpItem( rItem.Clone() ), mpUpper( pParent ), mbIsItemIgnorable( bIgnorable ) {} @@ -353,7 +349,7 @@ private: public: // #i86923# explicit StylePoolImpl( SfxItemSet const * pIgnorableItems ) - : maRoot(), + : #ifdef DEBUG mnCount(0), #endif diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx index ffb139870cdb..8792597f54ff 100644 --- a/svl/source/numbers/numfmuno.cxx +++ b/svl/source/numbers/numfmuno.cxx @@ -105,7 +105,6 @@ static LanguageType lcl_GetLanguage( const lang::Locale& rLocale ) } SvNumberFormatterServiceObj::SvNumberFormatterServiceObj() - :m_aMutex() { } diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 2cc2890a9f93..630bb9deea5b 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -215,7 +215,6 @@ namespace svl::undo::impl explicit NotifyUndoListener( UndoListenerVoidMethod i_notificationMethod ) :m_notificationMethod( i_notificationMethod ) ,m_altNotificationMethod( nullptr ) - ,m_sActionComment() { } @@ -258,7 +257,6 @@ namespace svl::undo::impl explicit UndoManagerGuard( SfxUndoManager_Data& i_managerData ) :m_rManagerData( i_managerData ) ,m_aGuard( i_managerData.aMutex ) - ,m_notifiers() { } |