mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
remove a warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8312 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6c2ebc8c1a
commit
bb5291a013
@ -1,3 +1,6 @@
|
||||
2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* text.C (breakParagraph): remove an outdated #warning
|
||||
|
||||
2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user