This seems to me very strange:
first_phys_par = tmprow->par();
// find the first row of the paragraph
if (first_phys_par != tmprow->par())
Well it seems Lars you didn't update this right when removing the
NEW_INSET stuff. The test above can go IMO!
Jürgen
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
He who laughs has not yet heard the bad news.
-- Bertolt Brecht