summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-09-07 00:57:49 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-09-07 02:40:28 +0200
commit0d8c345bf916ef7c1148bda84968c57189e14f5c (patch)
treeea8076841d635bad8eb8f34426b7c88e0e30bd0d /sfx2/source/control
parent2d299c9867a8653fd52a23567a8ddc51ea1ffaf4 (diff)
kill TF_POOLABLE, step 1: error if unset
Diffstat (limited to 'sfx2/source/control')
-rw-r--r--sfx2/source/control/dispatch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 92a11be0de38..257159427833 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1003,7 +1003,7 @@ void MappedPut_Impl( SfxAllItemSet &rSet, const SfxPoolItem &rItem )
#ifdef TF_POOLABLE
if ( pPool->IsSlot(nWhich) )
#else
- if ( pPool->HasMap() && pPool->IsSlot(nWhich) )
+#error "TF_POOLABLE should always be set."
#endif
nWhich = pPool->GetWhich(nWhich);
rSet.Put( rItem, nWhich );