summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-09-07 08:44:03 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-09-07 08:44:03 +0200
commit10011d00a6566f095b463abaed51da86c3a1e1d3 (patch)
treeaa3650231fe45a350a1b8f795c5acd5a9a7ae838 /sfx2/source/control
parentc8d7cb6bff57c26ab67faef1a15c2c9bd4a4f616 (diff)
kill TF_POOLABLE, step 2: remove dead code
Diffstat (limited to 'sfx2/source/control')
-rw-r--r--sfx2/source/control/dispatch.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 257159427833..7072c09c1778 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1000,11 +1000,7 @@ void MappedPut_Impl( SfxAllItemSet &rSet, const SfxPoolItem &rItem )
// Put with mapped Which-Id if possible
const SfxItemPool *pPool = rSet.GetPool();
sal_uInt16 nWhich = rItem.Which();
-#ifdef TF_POOLABLE
if ( pPool->IsSlot(nWhich) )
-#else
-#error "TF_POOLABLE should always be set."
-#endif
nWhich = pPool->GetWhich(nWhich);
rSet.Put( rItem, nWhich );
}