[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Jan 2 13:38:20 PST 2011
sw/source/ui/chrdlg/swuiccoll.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c888fed95cf1f2cfc2664723fefe3e1971d45bfd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jan 2 21:38:10 2011 +0000
WaE: fix new shadow warning post DECLARE_LIST removal
diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx
index ad86d7a..afe55ab 100644
--- a/sw/source/ui/chrdlg/swuiccoll.cxx
+++ b/sw/source/ui/chrdlg/swuiccoll.cxx
@@ -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;
More information about the Libreoffice-commits
mailing list