diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-06-14 13:35:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-15 11:56:55 +0200 |
commit | 5a2e09989a4b9746a56f15fe7499067a4327fbae (patch) | |
tree | 846226a33613d2de8621717ced337328649d1155 /svl | |
parent | 7eac94da23f2f4460252eae5fa073fd1d833ba99 (diff) |
cppcheck:redundantCondition
Change-Id: Ib8b6342d1da526df6104125ded546b3f053c448b
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/stylepool.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx index 301572d03579..31fbaf3119ec 100644 --- a/svl/source/items/stylepool.cxx +++ b/svl/source/items/stylepool.cxx @@ -408,8 +408,7 @@ StylePool::SfxItemSet_Pointer_t StylePoolImpl::insertItemSet( const SfxItemSet& if( !rSet.GetPool()->IsItemFlag(pItem->Which(), SfxItemPoolFlags::POOLABLE ) ) bNonPoolable = true; if ( !xFoundIgnorableItems.get() || - ( xFoundIgnorableItems.get() && - xFoundIgnorableItems->Put( *pItem ) == 0 ) ) + (xFoundIgnorableItems->Put( *pItem ) == 0 ) ) { pCurNode = pCurNode->findChildNode( *pItem ); } |