summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 15:06:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 06:33:23 +0000
commitc2b48a763df113e63e6a27ee05b9a6834e4e49a4 (patch)
tree9a0c2468b6fd36c6ac8104c88c82ebd8ddd82143 /svl
parent58072c5a7f409cd500ecdc4e81a8f536aa3dda59 (diff)
loplugin:expandablemethodds in svx
Change-Id: I45447b6f5cf7e17d6e81e8c931b07b26d41b9a8c Reviewed-on: https://gerrit.libreoffice.org/30057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/stylepool.cxx5
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;
}