diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-09-07 08:44:03 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-09-07 08:44:03 +0200 |
commit | 10011d00a6566f095b463abaed51da86c3a1e1d3 (patch) | |
tree | aa3650231fe45a350a1b8f795c5acd5a9a7ae838 /sfx2 | |
parent | c8d7cb6bff57c26ab67faef1a15c2c9bd4a4f616 (diff) |
kill TF_POOLABLE, step 2: remove dead code
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appmain.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 3 |
3 files changed, 0 insertions, 11 deletions
diff --git a/sfx2/source/appl/appmain.cxx b/sfx2/source/appl/appmain.cxx index 0cce285c2146..c249a3a8b58b 100644 --- a/sfx2/source/appl/appmain.cxx +++ b/sfx2/source/appl/appmain.cxx @@ -81,14 +81,10 @@ DBG_NAME(SfxAppMainCHAOSReg) //=================================================================== -#ifdef TF_POOLABLE static SfxItemInfo const aItemInfos[] = { { 0, 0 } }; -#else -#error "TF_POOLABLE should always be set." -#endif //=================================================================== 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 ); } diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 8f2a39f415ac..4afeb5ed11ad 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1641,9 +1641,6 @@ const sal_uInt16* SfxTabDialog::GetInputRanges( const SfxItemPool& rPool ) } //! Remove duplicated Ids? -#ifndef TF_POOLABLE -#error "TF_POOLABLE should always be set." -#endif { nCount = aUS.Count(); |