svl/source/items/style.cxx      |    1 -
 svl/source/items/stylepool.cxx  |   10 +++-------
 svl/source/numbers/numfmuno.cxx |    1 -
 svl/source/undo/undo.cxx        |    2 --
 4 files changed, 3 insertions(+), 11 deletions(-)

New commits:
commit 58364e04cc4c5451af2086bdb01145ec89da2b8e
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri Sep 3 08:32:59 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Sep 3 09:56:59 2021 +0200

    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.gran...@collabora.co.uk>

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()
         {
         }
 

Reply via email to