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

entRect is const

parent 2776b112
......@@ -1575,7 +1575,7 @@ RegionTextList TextPagePrivate::XYCutForBoundingBoxes()
for(int j = 0 ; j < list.length() ; ++j )
{
TinyTextEntity *ent = list.at(j);
QRect entRect = ent->area.geometry(pageWidth,pageHeight);
const QRect entRect = ent->area.geometry(pageWidth, pageHeight);
// calculate vertical projection profile proj_on_xaxis1
for(int k = entRect.left() ; k <= entRect.left() + entRect.width() ; ++k)
......
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