WaE: fix new shadow warning post DECLARE_LIST removal

This commit is contained in:
Caolán McNamara 2011-01-02 21:38:10 +00:00
parent 4001266abd
commit 55f2c63806

View file

@ -113,9 +113,8 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet)
SfxStyleFamilies aFamilies(SW_RES(DLG_STYLE_DESIGNER));
const SfxStyleFamilyItem* pFamilyItem = 0;
USHORT nCount = aFamilies.Count();
USHORT i;
for( i = 0; i < nCount; ++i)
for(USHORT i = 0; i < nCount; ++i)
{
if(SFX_STYLE_FAMILY_PARA == (USHORT)(pFamilyItem = aFamilies.GetObject(i))->GetFamily())
break;