void RenderBR::position(InlineBox* box, int from, int len, bool reverse) { InlineTextBox *s = static_cast<InlineTextBox*>(box); // We want the box to be destroyed, but get the position of it first. m_x = s->xPos(); m_y = s->yPos(); m_height = s->height(); }