]> git.lyx.org Git - features.git/commitdiff
remove debug message
authorAndré Pönitz <poenitz@gmx.net>
Tue, 21 Oct 2003 17:21:23 +0000 (17:21 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 21 Oct 2003 17:21:23 +0000 (17:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7945 a592a061-630c-0410-9148-cb99ea01b6c8

src/text.C

index 2c76feea3cd58306415d7a960e28e14796f93a1b..dcc0cbcfb84cd50cb564e52732849656c40a3552 100644 (file)
@@ -2143,14 +2143,13 @@ int LyXText::redoParagraphInternal(ParagraphList::iterator pit)
                Row row(z);
                z = rowBreakPoint(pit, row) + 1;
                row.end(z);
-               lyxerr << "break point at " << z << "/" << pit->size() << endl;
-               pit->rows.push_back(row);
-               RowList::iterator rit = boost::prior(pit->rows.end());
-               int const f = fill(pit, *rit, ww);
+               int const f = fill(pit, row, ww);
                int const w = ww - f;
                par_width = std::max(par_width, w);
-               rit->fill(f);
-               rit->width(w);
+               row.fill(f);
+               row.width(w);
+               pit->rows.push_back(row);
+               RowList::iterator rit = boost::prior(pit->rows.end());
                prepareToPrint(pit, rit);
                setHeightOfRow(pit, *rit);
                rit->y_offset(pit->height);