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

Do what the comment says

parent 446838c0
......@@ -1220,7 +1220,7 @@ QHash<QRect, RegionText> TextPagePrivate::makeWordFromCharacters()
}
// if newString is not empty, save it
if (newString.length())
if (!newString.isEmpty())
{
const NormalizedRect newRect(lineArea, pageWidth, pageHeight);
newList.append(new TinyTextEntity(newString.normalized
......
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