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

DeleteOnIdleItems isn't called anywhere

üst 8c37bc0f
......@@ -34,8 +34,6 @@ class SfxPoolItem;
SVT_DLLPUBLIC SfxPoolItem* DeleteItemOnIdle( SfxPoolItem* pItem );
void DeleteOnIdleItems();
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -116,20 +116,4 @@ SfxPoolItem* DeleteItemOnIdle( SfxPoolItem* pItem )
return pItem;
}
// ------------------------------------------------------------------------
void DeleteOnIdleItems()
{
SfxItemDesruptorList_Impl* &rpList
= ImpSvtData::GetSvtData().pItemDesruptList;
if ( rpList )
{
sal_uInt16 n;
while ( 0 != ( n = rpList->Count() ) )
// Remove ist implizit im Dtor
delete rpList->GetObject( n-1 );
DELETEZ(rpList);
}
}
/* 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