From a443001d5a8f925e859e4a761669cb2e523156c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 14 Aug 2002 18:47:14 +0000 Subject: [PATCH] fix typo git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4978 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 3 ++- src/insets/insettext.C | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 79090dc537..2eb8a01881 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -16,12 +16,13 @@ (getParFromID): ditto (paragraph): use for_each + boost::bind (getInsetFromID): use paragraphlist iterators + (getLabelList): typo fix 2002-08-14 Lars Gullik Bjønnes * insettext.C (read): assign tmp to paragraphs after return from call to parseSingleLyXformat2Token - + 2002-08-13 Angus Leeming diff --git a/src/insets/insettext.C b/src/insets/insettext.C index a1b77093f0..0f635410e8 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -1959,7 +1959,7 @@ vector const InsetText::getLabelList() const vector label_list; ParagraphList::iterator pit = paragraphs.begin(); - ParagraphList::iterator pend = paragraphs.begin(); + ParagraphList::iterator pend = paragraphs.end(); for (; pit != pend; ++pit) { InsetList::iterator beg = pit->insetlist.begin(); InsetList::iterator end = pit->insetlist.end();