Re: [Libreoffice] [PATCH] cppcheck fixes under libs-core

2010-10-14 Thread Michael Meeks
Hi Harri, On Thu, 2010-10-14 at 19:01 +0300, Harri Pitkänen wrote: > - unopage.cxx and unoshap2.cxx: remove redundant null checks for pointers > that > have already been checked for null value > - odma_datasupplier.cxx: fix memory leak if NODMQueryExecute returns with > error Nice look

[Libreoffice] [PATCH] cppcheck fixes under libs-core

2010-10-14 Thread Harri Pitkänen
- unopage.cxx and unoshap2.cxx: remove redundant null checks for pointers that have already been checked for null value - odma_datasupplier.cxx: fix memory leak if NODMQueryExecute returns with error Harri diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 4504c99