diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:10:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:03 +0200 |
commit | 31c3ca9fef4af2773668d4c7703bd851e012c55a (patch) | |
tree | 0505688910a3712f0a1fc2a4674234c3c42a1d71 /svl | |
parent | 6616e886ae33e54d6048e2f8b635b5a358dccc01 (diff) |
Improved loplugin:cstylecast to reference types: svl
Change-Id: I37cc0ba5d05c198795c6ae3d0f1037aa1221cfb6
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/itempool.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 36b2eb006f77..fcd84bf6b510 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -761,8 +761,7 @@ void SfxItemPool::Remove( const SfxPoolItem& rItem ) assert(!IsDefaultItem(&rItem) && "a non Pool Item is Default?!"); if ( 0 == ReleaseRef(rItem) ) { - SfxPoolItem *pItem = &(SfxPoolItem &)rItem; - delete pItem; + delete &rItem; } return; } |