lotuswordpro/source/filter/lwpbackgroundstuff.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 3b1da9e650db388baa6d649219e2a0e45b58f062 Author: Radu Ioan <ioan.rad...@gmail.com> Date: Mon Dec 31 01:27:47 2012 +0200 fdo#39440 - cppcheck cleanliness removed some cppcheck warning Change-Id: I81963001e4737c583764b07bea9abf59a61dead7 Reviewed-on: https://gerrit.libreoffice.org/1518 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx index d26e0b3..a38d419 100644 --- a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx +++ b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx @@ -169,11 +169,8 @@ XFBGImage* LwpBackgroundStuff::GetFillPattern() XFBGImage* pXFBGImage = new XFBGImage(); pXFBGImage->SetImageData(pImageBuff, nSize); - if (pImageBuff) - { - delete [] pImageBuff; - pImageBuff = NULL; - } + delete [] pImageBuff; + pImageBuff = NULL; pXFBGImage->SetRepeate(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits