[EMAIL PROTECTED] wrote:

> -       ParagraphMetrics const & pm1 = par_metrics_[beg.pit()];
> -       ParagraphMetrics const & pm2 = par_metrics_[end.pit()];
> +       ParagraphMetrics const & pm1 = parMetrics(beg.pit());
> +       ParagraphMetrics const & pm2 = parMetrics(end.pit());
> Row const & row1 = pm1.getRow(beg.pos(), beg.boundary());
> Row const & row2 = pm2.getRow(end.pos(), end.boundary());

I think that a better fix would be avoid trying to get row1 when CUR_ABOVE
and row2 when CUR_BELOW, as they are not needed anyway...

A/

Reply via email to