summaryrefslogtreecommitdiff
path: root/svl/source/items/itemset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/itemset.cxx')
-rw-r--r--svl/source/items/itemset.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 09c5004c2322..809cfa5925bd 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -350,24 +350,6 @@ void SfxItemSet::ClearInvalidItems( bool bHardDefault )
}
}
-void SfxItemSet::InvalidateDefaultItems()
-{
- sal_uInt16* pPtr = m_pWhichRanges;
- SfxItemArray ppFnd = m_pItems;
-
- while( *pPtr )
- {
- for ( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd )
- if (*ppFnd && *ppFnd != reinterpret_cast<SfxPoolItem *>(-1)
- && **ppFnd == m_pPool->GetDefaultItem(nWhich))
- {
- m_pPool->Remove( **ppFnd );
- *ppFnd = reinterpret_cast<SfxPoolItem*>(-1);
- }
- pPtr += 2;
- }
-}
-
void SfxItemSet::InvalidateAllItems()
{
assert( !m_nCount && "There are still Items set" );