Re: [Libreoffice] Help here, I think I'm blinded

2011-03-01 Thread Fridrich Strba
Hello, On 28/02/11 22:32, Kayo Hamid wrote: Guys I have something that I see a lot and do not know way someone will use it: ... 'err' saves some values but who uses it? I see a lot of it on the code, local variables with attribution, and no one inside the function uses, and no one sends the

[Libreoffice] Help here, I think I'm blinded

2011-02-28 Thread Kayo Hamid
Guys I have something that I see a lot and do not know way someone will use it: //code static WinSalMenuItem* ImplGetSalMenuItem( HMENU hMenu, UINT nPos, BOOL bByPosition=TRUE ) { DWORD err=0; MENUITEMINFOW mi; memset(&mi, 0, sizeof(mi)); mi.cbSize = sizeof( mi ); mi.fMask