summaryrefslogtreecommitdiff
path: root/svl/source/items/stylepool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/stylepool.cxx')
-rw-r--r--svl/source/items/stylepool.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index 9ea2b42f9ff0..47f260865101 100644
--- a/svl/source/items/stylepool.cxx
+++ b/svl/source/items/stylepool.cxx
@@ -380,8 +380,7 @@ std::shared_ptr<SfxItemSet> StylePoolImpl::insertItemSet( const SfxItemSet& rSet
{
if( !rSet.GetPool()->IsItemPoolable(pItem->Which() ) )
bNonPoolable = true;
- if ( !xFoundIgnorableItems.get() ||
- (xFoundIgnorableItems->Put( *pItem ) == nullptr ) )
+ if (!xFoundIgnorableItems || (xFoundIgnorableItems->Put(*pItem) == nullptr))
{
pCurNode = pCurNode->findChildNode( *pItem, false );
}