Bug 719639 - @xrefitem with empty heading string

Replaced:
  if (!(x->title().length())) return;
by:
  if (x->title().isEmpty()) return;