- long y = max(text->refresh_y - long(text->first), 0L);
- int height;
- if (text->inset_owner)
- height = text->inset_owner->ascent(owner.owner()->painter(),
- text->real_current_font)
- + text->inset_owner->descent(owner.owner()->painter(),
- text->real_current_font);
- else
- height = owner.height();
- DrawFromTo(text, y, owner.height(), y_offset, x_offset);
+ int const y = max(int(text->refresh_y - text->first), 0);
+ DrawFromTo(text, bv, y, owner.height(), y_offset, x_offset);