From 4ef2be0f1142a8d044b6652be31923aab811b91b Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Fri, 20 Oct 2006 14:06:18 +0000 Subject: [PATCH] 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 --- src/insets/insettext.C | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/insets/insettext.C b/src/insets/insettext.C index 3f22f7acda..fc3ff31ab1 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -389,11 +389,11 @@ void InsetText::setViewCache(BufferView const * bv) const void InsetText::appendParagraphs(Buffer * buffer, ParagraphList & plist) { -#ifdef WITH_WARNINGS -#warning FIXME Check if Changes stuff needs changing here. (Lgb) -// And it probably does. You have to take a look at this John. (Lgb) -#warning John, have a look here. (Lgb) -#endif + // There is little we can do here to keep track of changes. + // As of 2006/10/20, appendParagraphs is used exclusively by + // LyXTabular::setMultiColumn. In this context, the paragraph break + // is lost irreversibly and the appended text doesn't really change + ParagraphList & pl = paragraphs(); ParagraphList::iterator pit = plist.begin(); @@ -403,7 +403,7 @@ void InsetText::appendParagraphs(Buffer * buffer, ParagraphList & plist) std::distance(pl.begin(), ins) - 1); for_each(pit, plist.end(), - bind(&ParagraphList::push_back, ref(pl), _1)); + bind(&ParagraphList::push_back, ref(pl), _1)); } -- 2.39.2