summaryrefslogtreecommitdiff
path: root/svl/source/items/whiter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/whiter.cxx')
-rw-r--r--svl/source/items/whiter.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svl/source/items/whiter.cxx b/svl/source/items/whiter.cxx
index 707349c70ea5..c89c6ed2794b 100644
--- a/svl/source/items/whiter.cxx
+++ b/svl/source/items/whiter.cxx
@@ -70,4 +70,11 @@ SfxItemState SfxWhichIter::GetItemState(bool bSrchInParent, const SfxPoolItem**
return m_rItemSet.GetItemStateImpl(nWhich, bSrchInParent, ppItem, nItemsOffsetHint);
}
+void SfxWhichIter::ClearItem()
+{
+ sal_uInt16 nWhich = m_pCurrentWhichPair->first + m_nOffsetFromStartOfCurrentWhichPair;
+ sal_uInt16 nItemOffsetHint = m_nItemsOffset + m_nOffsetFromStartOfCurrentWhichPair;
+ const_cast<SfxItemSet&>(m_rItemSet).ClearSingleItemImpl(nWhich, nItemOffsetHint);
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */