diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-19 10:52:20 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-19 11:23:57 +0000 |
commit | 778e9a65bf5af07c4caeff969a0324e43a78e66b (patch) | |
tree | a5204f0d3eaf2f512a627eeb9e74d42e7e80b54f /svl | |
parent | 541c4c4509863beb7babe361b31e27f7295e3069 (diff) |
new loplugin: find write-only fields
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717
Reviewed-on: https://gerrit.libreoffice.org/22498
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/stylepool.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx index c0947c450885..9eaf86cef689 100644 --- a/svl/source/items/stylepool.cxx +++ b/svl/source/items/stylepool.cxx @@ -347,14 +347,12 @@ class StylePoolImpl { private: std::map< const SfxItemSet*, Node > maRoot; - sal_Int32 mnCount; // #i86923# SfxItemSet* mpIgnorableItems; public: // #i86923# explicit StylePoolImpl( SfxItemSet* pIgnorableItems = nullptr ) : maRoot(), - mnCount(0), mpIgnorableItems( pIgnorableItems != nullptr ? pIgnorableItems->Clone( false ) : nullptr ) @@ -422,7 +420,6 @@ StylePool::SfxItemSet_Pointer_t StylePoolImpl::insertItemSet( const SfxItemSet& { pCurNode->setItemSet( rSet ); bNonPoolable = false; // to avoid a double insertion - ++mnCount; } // If rSet contains at least one non poolable item, a new itemset has to be inserted if( bNonPoolable ) |