diff options
Diffstat (limited to 'svl/source/items/stylepool.cxx')
-rw-r--r-- | svl/source/items/stylepool.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx index eb615eb4408a..0028b3552768 100644 --- a/svl/source/items/stylepool.cxx +++ b/svl/source/items/stylepool.cxx @@ -73,7 +73,6 @@ namespace { Node* nextItemSet( Node* pLast, const bool bSkipUnusedItemSet, const bool bSkipIgnorable ); - const SfxPoolItem& getPoolItem() const { return *mpItem; } // #i86923# bool hasIgnorableChildren( const bool bCheckUsage ) const; const std::shared_ptr<SfxItemSet> getItemSetOfIgnorableChild( @@ -132,8 +131,8 @@ namespace { std::vector<Node*>::const_iterator aIter = mChildren.begin(); while( aIter != mChildren.end() ) { - if( rItem.Which() == (*aIter)->getPoolItem().Which() && - rItem == (*aIter)->getPoolItem() ) + if( rItem.Which() == (*aIter)->mpItem->Which() && + rItem == *(*aIter)->mpItem ) return *aIter; ++aIter; } |