From: Alfredo Braunstein Date: Wed, 7 Jan 2004 10:04:03 +0000 (+0000) Subject: remove a warning X-Git-Tag: 1.6.10~15604 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bb5291a013808efe139661f5490fd54ba4db45a1;p=features.git remove a warning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8312 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index dda43c6bb8..e720b6e67f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,6 @@ +2004-01-07 Alfredo Braunstein + + * text.C (breakParagraph): remove an outdated #warning 2004-01-07 Alfredo Braunstein diff --git a/src/text.C b/src/text.C index 4f20575b5a..398df84480 100644 --- a/src/text.C +++ b/src/text.C @@ -772,7 +772,7 @@ void LyXText::breakParagraph(ParagraphList & paragraphs, char keep_layout) // // It is better to erase the space (Dekel) if (cursor.pos() < cpit->size() && cpit->isLineSeparator(cursor.pos())) - cpit->erase(cursor.pos()); + cpit->erase(cursor.pos()); // break the paragraph if (keep_layout) @@ -788,10 +788,6 @@ void LyXText::breakParagraph(ParagraphList & paragraphs, char keep_layout) ::breakParagraph(bv()->buffer()->params(), paragraphs, cpit, cursor.pos(), keep_layout); -#warning Trouble Point! (Lgb) - // When ::breakParagraph is called from within an inset we must - // ensure that the correct ParagraphList is used. Today that is not - // the case and the Buffer::paragraphs is used. Not good. (Lgb) cpit = cursorPar(); ParagraphList::iterator next_par = boost::next(cpit);