Kaydet (Commit) 3b1da9e6 authored tarafından Radu Ioan's avatar Radu Ioan Kaydeden (comit) Markus Mohrhard

fdo#39440 - cppcheck cleanliness

removed some cppcheck warning

Change-Id: I81963001e4737c583764b07bea9abf59a61dead7
Reviewed-on: https://gerrit.libreoffice.org/1518Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst afb9d7d8
...@@ -169,11 +169,8 @@ XFBGImage* LwpBackgroundStuff::GetFillPattern() ...@@ -169,11 +169,8 @@ XFBGImage* LwpBackgroundStuff::GetFillPattern()
XFBGImage* pXFBGImage = new XFBGImage(); XFBGImage* pXFBGImage = new XFBGImage();
pXFBGImage->SetImageData(pImageBuff, nSize); pXFBGImage->SetImageData(pImageBuff, nSize);
if (pImageBuff) delete [] pImageBuff;
{ pImageBuff = NULL;
delete [] pImageBuff;
pImageBuff = NULL;
}
pXFBGImage->SetRepeate(); pXFBGImage->SetRepeate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment