Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Just a little input about patch, nothing serious but its worth saying, when
checking if a container has elements, dont use the size() call since its
O(n) and not a constant call on some stl implementations, its preferred to
use empty().

On Mon, Sep 19, 2011 at 7:51 PM, Daniel Di Marco <d.dimarco@gmx.de> wrote:

Hi,

I replaced some usages of SvUShorts with std::vectors.
License is LGPLv3+/MPL


Cheers,
Daniel

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.