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