No need to if the delete

remotes/origin/textfind-and-transparency
Albert Astals Cid 15 years ago
parent d7576a6a2b
commit e842bcdfed
  1. 6
      core/textpage.cpp

@ -1778,10 +1778,8 @@ void TextPagePrivate::XYCutForBoundingBoxes(int tcx, int tcy)
tree.insert(i+1,node2);
}
if(proj_on_xaxis)
delete []proj_on_xaxis;
if(proj_on_yaxis)
delete []proj_on_yaxis;
delete[] proj_on_xaxis;
delete[] proj_on_yaxis;
}
TextList tmp;

Loading…
Cancel
Save