remove an unusual nop and an outdated warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7744 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-09-15 08:30:41 +00:00
parent 14dcb1b93a
commit ba14956f03
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-09-15 Alfredo Braunstein <abraunst@libero.it>
* CutAndPaste.C (pasteSelection): remove an outdated #warning
* text.C (updateRowPositions): remove an unusual nop
2003-09-12 André Pönitz <poenitz@gmx.net>

View File

@ -347,7 +347,6 @@ CutAndPaste::pasteSelection(Buffer const & buffer,
pos = last_paste->size();
// Maybe some pasting.
#warning CHECK! Are we comparing last_paste to the wrong list here? (Lgb)
if (boost::next(last_paste) != pars.end() &&
paste_the_end) {
if (boost::next(last_paste)->hasSameLayout(*last_paste)) {

View File

@ -92,7 +92,7 @@ void LyXText::updateRowPositions()
for (height = 0; pit != end; ++pit) {
RowList::iterator rit = pit->rows.begin();
RowList::iterator rend = pit->rows.end();
for ( ; rit != rend ; rit = ++rit) {
for ( ; rit != rend ; ++rit) {
rit->y(height);
height += rit->height();
}