shubham added a comment.

  @aacid area is a RegularAreaRect object which is a QRect bounding the 
selected text. "area" is to be deleted in all the cases except the case in 
which it is not possible to delete it since "area" will not contain any text in 
it and hence it will be nullptr. (case: if text is empty string) and hence 
return is called instead of deleting the "area".

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D18744

To: shubham, aacid, #vdg, ngraham
Cc: yurchor, michaelweghorn, kde-doc-english, davidhurka, abetts, loh.tar, 
alexde, ngraham, okular-devel, gennad, joaonetto, tfella, skadinna, darcyshen, 
aacid

Reply via email to