[Libreoffice] [PATCH] Remove DECLARE_LIST( SvSlotElementList, SvSlotElement* )

Noel Power nopower at novell.com
Mon Mar 28 06:22:29 PDT 2011


Mostly pushed as is,

I changed in slot.cxx

+        for (SvSlotElementList::iterator it = pCurSlot+1; it != 
rSlotList.end(); ++it)

to

         SvSlotElementList::iterator it = ( pCurSlot != rSlotList.end() 
) ? ++pCurSlot : rSlotList.end();

         for ( ; it != rSlotList.end(); ++it)

'cause it looked like it was possible you could iterate past the the 
end() ( hope I did it right but it is similar to what what there before )

thanks again

Noel




On 25/03/11 21:32, Rafael Dominguez wrote:
>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110328/180b2f57/attachment.html>


More information about the LibreOffice mailing list