summaryrefslogtreecommitdiff
path: root/svl/source/items/poolcach.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/poolcach.cxx')
-rw-r--r--svl/source/items/poolcach.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/poolcach.cxx b/svl/source/items/poolcach.cxx
index 2cc33549659b..01f238caa3fb 100644
--- a/svl/source/items/poolcach.cxx
+++ b/svl/source/items/poolcach.cxx
@@ -88,7 +88,7 @@ const SfxSetItem& SfxItemPoolCache::ApplyTo( const SfxSetItem &rOrigItem )
}
else
pNewItem->GetItemSet().Put( *pSetToPut );
- const SfxSetItem* pNewPoolItem = static_cast<const SfxSetItem*>(&pPool->Put( *pNewItem ));
+ const SfxSetItem* pNewPoolItem = &pPool->Put( *pNewItem );
DBG_ASSERT( pNewPoolItem != pNewItem.get(), "Pool: same in and out?" );
pNewItem.reset();