cppcheck unreadVariable: n

since initial commit d02f75a8c3

Change-Id: I51d56485f4b6224a1b7ce16b0788e7e884d57b37
Reviewed-on: https://gerrit.libreoffice.org/30408
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
This commit is contained in:
Jochen Nitschke
2016-10-30 20:15:26 +01:00
parent f891267b03
commit cd252e2f01

View File

@@ -544,7 +544,6 @@ void LayoutMenu::Fill()
}
Clear();
int n = 0;
for (sal_uInt16 i=1; pInfo!=nullptr&&pInfo->mnBmpResId!=0; i++,pInfo++)
{
if ((WritingMode_TB_RL != pInfo->meWritingMode) || bVertical)
@@ -556,7 +555,6 @@ void LayoutMenu::Fill()
InsertItem(i, Image(aBmp), SdResId (pInfo->mnStrResId));
SetItemData (i, new AutoLayout(pInfo->maAutoLayout));
n++;
}
}