svl: fix SfxItemIter on empty item set
The problem is that IsAtEnd { return m_nCurrent == m_nEnd; } is never true because of the odd initialisation with m_nEnd > m_nStart. Change-Id: I477b0f111e2c2f47fe093800710a9b28ca8a5925
This commit is contained in:
parent
503f07caa9
commit
54d627e0c2
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ SfxItemIter::SfxItemIter( const SfxItemSet& rItemSet )
|
|||
{
|
||||
if (!m_rSet.m_nCount)
|
||||
{
|
||||
m_nStart = 1;
|
||||
m_nStart = 0;
|
||||
m_nEnd = 0;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue