Kaydet (Commit) 401a8cec authored tarafından Caolán McNamara's avatar Caolán McNamara

return value unused

Change-Id: I22276dd551c4d1311a113ce6c38cc5eb97ed12ef
üst 2ce5d7d2
......@@ -23,7 +23,7 @@
class SfxPoolItem;
SVT_DLLPUBLIC SfxPoolItem* DeleteItemOnIdle( SfxPoolItem* pItem );
SVT_DLLPUBLIC void DeleteItemOnIdle( SfxPoolItem* pItem );
#endif
......
......@@ -83,11 +83,10 @@ IMPL_LINK_NOARG(SfxItemDesruptor_Impl, Delete)
}
// ------------------------------------------------------------------------
SfxPoolItem* DeleteItemOnIdle( SfxPoolItem* pItem )
void DeleteItemOnIdle( SfxPoolItem* pItem )
{
DBG_ASSERT( 0 == pItem->GetRefCount(), "deleting item in use" );
new SfxItemDesruptor_Impl( pItem );
return pItem;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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