summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svl/poolitem.hxx2
-rw-r--r--svtools/source/misc/itemdel.cxx18
2 files changed, 10 insertions, 10 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 8878355e66e3..5a6d4564e138 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -157,7 +157,7 @@ class SfxItemSet;
class SVL_DLLPUBLIC SfxPoolItem
{
friend class SfxItemPool;
-friend class SfxItemDesruptor_Impl;
+friend class SfxItemDisruptor_Impl;
friend class SfxItemPoolCache;
friend class SfxItemSet;
friend class SfxVoidItem;
diff --git a/svtools/source/misc/itemdel.cxx b/svtools/source/misc/itemdel.cxx
index b1c771956352..7645089ed084 100644
--- a/svtools/source/misc/itemdel.cxx
+++ b/svtools/source/misc/itemdel.cxx
@@ -28,7 +28,7 @@
#include <svl/itempool.hxx>
-class SfxItemDesruptor_Impl: private boost::noncopyable
+class SfxItemDisruptor_Impl: private boost::noncopyable
{
SfxPoolItem *pItem;
Link aLink;
@@ -37,27 +37,27 @@ private:
DECL_LINK( Delete, void* );
public:
- SfxItemDesruptor_Impl( SfxPoolItem *pItemToDesrupt );
+ SfxItemDisruptor_Impl( SfxPoolItem *pItemToDesrupt );
void LaunchDeleteOnIdle();
- ~SfxItemDesruptor_Impl();
+ ~SfxItemDisruptor_Impl();
};
-SfxItemDesruptor_Impl::SfxItemDesruptor_Impl( SfxPoolItem *pItemToDesrupt ):
+SfxItemDisruptor_Impl::SfxItemDisruptor_Impl( SfxPoolItem *pItemToDesrupt ):
pItem(pItemToDesrupt),
- aLink( LINK(this, SfxItemDesruptor_Impl, Delete) )
+ aLink( LINK(this, SfxItemDisruptor_Impl, Delete) )
{
DBG_ASSERT( 0 == pItem->GetRefCount(), "disrupting pooled item" );
pItem->SetKind( SFX_ITEMS_DELETEONIDLE );
}
-void SfxItemDesruptor_Impl::LaunchDeleteOnIdle()
+void SfxItemDisruptor_Impl::LaunchDeleteOnIdle()
{
// process in Idle
Application::InsertIdleHdl( aLink, 1 );
}
-SfxItemDesruptor_Impl::~SfxItemDesruptor_Impl()
+SfxItemDisruptor_Impl::~SfxItemDisruptor_Impl()
{
// remove from Idle-Handler
@@ -69,7 +69,7 @@ SfxItemDesruptor_Impl::~SfxItemDesruptor_Impl()
delete pItem;
}
-IMPL_LINK_NOARG(SfxItemDesruptor_Impl, Delete)
+IMPL_LINK_NOARG(SfxItemDisruptor_Impl, Delete)
{
delete this;
return 0;
@@ -78,7 +78,7 @@ IMPL_LINK_NOARG(SfxItemDesruptor_Impl, Delete)
void DeleteItemOnIdle(SfxPoolItem* pItem)
{
DBG_ASSERT( 0 == pItem->GetRefCount(), "deleting item in use" );
- SfxItemDesruptor_Impl *pDesruptor = new SfxItemDesruptor_Impl(pItem);
+ SfxItemDisruptor_Impl *pDesruptor = new SfxItemDisruptor_Impl(pItem);
pDesruptor->LaunchDeleteOnIdle();
}