Lines Matching refs:nItemId
271 … sal_Int16 nItemId = 1; // in this control the item id is not important for executing the command in fillPopupMenu() local
283 pPopupMenu->InsertItem( nItemId, rStr ); in fillPopupMenu()
286 pPopupMenu->SetItemCommand( nItemId, aCmd ); in fillPopupMenu()
290 pPopupMenu->CheckItem( nItemId, sal_True ); in fillPopupMenu()
292 aLangMap[ nItemId ] = rStr; in fillPopupMenu()
293 ++nItemId; in fillPopupMenu()
298 ++nItemId; in fillPopupMenu()
299 pPopupMenu->InsertItem( nItemId, String(FwlResId( STR_LANGSTATUS_NONE )) ); in fillPopupMenu()
302 pPopupMenu->SetItemCommand( nItemId, aCmd ); in fillPopupMenu()
305 ++nItemId; in fillPopupMenu()
306 pPopupMenu->InsertItem( nItemId, String(FwlResId( STR_RESET_TO_DEFAULT_LANGUAGE )) ); in fillPopupMenu()
309 pPopupMenu->SetItemCommand( nItemId, aCmd ); in fillPopupMenu()
312 ++nItemId; in fillPopupMenu()
313 pPopupMenu->InsertItem( nItemId, String(FwlResId( STR_LANGSTATUS_MORE ))); in fillPopupMenu()
314 pPopupMenu->SetItemCommand( nItemId, aCmd_Dialog ); in fillPopupMenu()