Kaydet (Commit) 31c3ca9f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improved loplugin:cstylecast to reference types: svl

Change-Id: I37cc0ba5d05c198795c6ae3d0f1037aa1221cfb6
üst 6616e886
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment