On 02/07/11 01:37, David Tardon wrote:
On Sun, Feb 06, 2011 at 09:42:46PM +0100, Xisco Faulí wrote:
- } section[SECTIONS];
+ } section[SECTIONS] = NULL;
This is false alarm. The struct has default constructor, so the elements
of the array are initialized properly.
+ delete [] level;
This is wrong, because OutlineNumbering deletes the passed level in its
destructor.
D.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Hi David,
Just a friendly reminder to file a bug with cppcheck's devs if you've
found false positives or outright mistakes made by cppcheck. We want to
help them help us. :)
They have April 9th slated as the next cppcheck release date, so lets be
sure to get all the LO-found fixes into their tree and keep
false/misleading results out of http://libreoffice.boldandbusted.com/ .
If you did this already, sweet! :)
Cheers,
Jesse Adelman
Linux Systems Consultant,
ilikelinux Consulting
http://www.ilikelinux.com/
Bold and Busted LLC
http://www.boldandbusted.com/
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.