fdo#39440 - cppcheck cleanliness
removed some cppcheck warning Change-Id: I81963001e4737c583764b07bea9abf59a61dead7 Reviewed-on: https://gerrit.libreoffice.org/1518 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
parent
afb9d7d84c
commit
3b1da9e650
1 changed files with 2 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue