WaE: ‘nPos’ may be used uninitialized in this function
Change-Id: I993492fa3c3355eeb8d57b4262e176bc2f439f7e
This commit is contained in:
parent
c2dd0ef4b8
commit
b99bee2b0c
@ -3696,7 +3696,7 @@ sal_uInt16 PopupMenu::ImplExecute( Window* pW, const Rectangle& rRect, sal_uLong
|
||||
OUString aTmpEntryText( ResId( SV_RESID_STRING_NOSELECTIONPOSSIBLE, *pResMgr ) );
|
||||
MenuItemData* pData = pItemList->Insert(
|
||||
0xFFFF, MENUITEM_STRING, 0, aTmpEntryText, Image(), NULL, 0xFFFF, OString() );
|
||||
size_t nPos;
|
||||
size_t nPos = 0;
|
||||
pData = pItemList->GetData( pData->nId, nPos );
|
||||
pData->bIsTemporary = true;
|
||||
ImplCallEventListeners(VCLEVENT_MENU_SUBMENUCHANGED, nPos);
|
||||
|
Loading…
x
Reference in New Issue
Block a user