summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-25 14:42:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-25 16:06:54 +0100
commitc694be016923d6ed3763e001d509a6f720dc1ee9 (patch)
treec2bd29c343b0f9f0c2dd140689c3d0dfb9d7adad /svtools
parent8c37bc0f43ecda80b5f476fdb0df9987550b0915 (diff)
DeleteOnIdleItems isn't called anywhere
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/itemdel.hxx2
-rw-r--r--svtools/source/misc/itemdel.cxx16
2 files changed, 0 insertions, 18 deletions
diff --git a/svtools/inc/svtools/itemdel.hxx b/svtools/inc/svtools/itemdel.hxx
index 2ceb73a781b9..8a9db3d3c92b 100644
--- a/svtools/inc/svtools/itemdel.hxx
+++ b/svtools/inc/svtools/itemdel.hxx
@@ -34,8 +34,6 @@ class SfxPoolItem;
SVT_DLLPUBLIC SfxPoolItem* DeleteItemOnIdle( SfxPoolItem* pItem );
-void DeleteOnIdleItems();
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/itemdel.cxx b/svtools/source/misc/itemdel.cxx
index 243619d3a465..8a583f73ba96 100644
--- a/svtools/source/misc/itemdel.cxx
+++ b/svtools/source/misc/itemdel.cxx
@@ -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: */