Commit d49894b9 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

the list does not change -> const

parent d704dd1e
......@@ -1546,7 +1546,7 @@ RegionTextList TextPagePrivate::XYCutForBoundingBoxes(int tcx, int tcy)
for( j = 0 ; j < size_proj_y ; j++ ) proj_on_yaxis[j] = 0;
for( j = 0 ; j < size_proj_x ; j++ ) proj_on_xaxis[j] = 0;
TextList list = node.text();
const TextList list = node.text();
// Calculate tcx and tcy locally for each new region
if(countLoop++)
......
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