On Tue, Dec 10, 2002 at 12:41:26AM +0000, John Levon wrote:
>  int ascent(char c, LyXFont const & f)
>  {
> -     QRect r = metrics(f).boundingRect(c);
> +     QRect const & r = metrics(f).boundingRect(c);
>       return -r.top();
>  }

Why not 

   return -metrics(f).boundingRect(c).top();

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to