summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-12 12:13:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-12 13:03:58 +0000
commit401a8cecee5861d37bd91239200dd49719a0cac4 (patch)
tree95098f768cb2b39a7254c3df1b52ae0fd2dca742 /svtools/source
parent2ce5d7d2efdde745719f86be4aa6cceee5407e13 (diff)
return value unused
Change-Id: I22276dd551c4d1311a113ce6c38cc5eb97ed12ef
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/misc/itemdel.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/misc/itemdel.cxx b/svtools/source/misc/itemdel.cxx
index 0e89b8bffd2e..ad5624083c3e 100644
--- a/svtools/source/misc/itemdel.cxx
+++ b/svtools/source/misc/itemdel.cxx
@@ -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: */