mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
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:
parent
14dcb1b93a
commit
ba14956f03
@ -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>
|
||||
|
||||
|
@ -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)) {
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user