change tracking:

* insets/insettext.C: comment on prior warning
	(and express my helplessness)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15409 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2006-10-20 14:06:18 +00:00
parent 3bbbc1437b
commit 4ef2be0f11

View File

@ -389,11 +389,11 @@ void InsetText::setViewCache(BufferView const * bv) const
void InsetText::appendParagraphs(Buffer * buffer, ParagraphList & plist) void InsetText::appendParagraphs(Buffer * buffer, ParagraphList & plist)
{ {
#ifdef WITH_WARNINGS // There is little we can do here to keep track of changes.
#warning FIXME Check if Changes stuff needs changing here. (Lgb) // As of 2006/10/20, appendParagraphs is used exclusively by
// And it probably does. You have to take a look at this John. (Lgb) // LyXTabular::setMultiColumn. In this context, the paragraph break
#warning John, have a look here. (Lgb) // is lost irreversibly and the appended text doesn't really change
#endif
ParagraphList & pl = paragraphs(); ParagraphList & pl = paragraphs();
ParagraphList::iterator pit = plist.begin(); ParagraphList::iterator pit = plist.begin();
@ -403,7 +403,7 @@ void InsetText::appendParagraphs(Buffer * buffer, ParagraphList & plist)
std::distance(pl.begin(), ins) - 1); std::distance(pl.begin(), ins) - 1);
for_each(pit, plist.end(), for_each(pit, plist.end(),
bind(&ParagraphList::push_back, ref(pl), _1)); bind(&ParagraphList::push_back, ref(pl), _1));
} }