compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8027 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-11-04 08:07:07 +00:00
parent 49e5945ce4
commit be2db7308a
3 changed files with 5 additions and 10 deletions

View File

@ -1,3 +1,7 @@
2003-11-04 Alfredo Braunstein <abraunst@libero.it>
* PosIterator.[Ch]: compile fix
2003-11-04 Alfredo Braunstein <abraunst@libero.it>
* text.C (cursorPar): deactivate the cursor cache

View File

@ -38,7 +38,7 @@ PosIterator & PosIterator::operator++()
ParagraphList * pl = inset->getParagraphs(p.index);
if (pl) {
p.index++;
stack_.push(PosIteratorItem(pl));
stack_.push(PosIteratorItem(pl, pl->begin(), 0));
return *this;
}
}
@ -126,12 +126,6 @@ PosIterator::PosIterator(ParagraphList * pl, ParagraphList::iterator pit,
}
PosIterator::PosIterator(ParagraphList * pl)
{
stack_.push(PosIteratorItem(pl, pl->begin(), 0));
}
PosIterator::PosIterator(BufferView & bv)
{
LyXText * text = bv.getLyXText();

View File

@ -24,8 +24,6 @@ class BufferView;
struct PosIteratorItem
{
PosIteratorItem(ParagraphList * pl): pl(pl), pit(pl->begin()),
pos(0), index(0) {};
PosIteratorItem(ParagraphList * pl,
ParagraphList::iterator pit,
lyx::pos_type pos,
@ -43,7 +41,6 @@ class PosIterator
public:
PosIterator(BufferView & bv);
PosIterator(ParIterator & par, lyx::pos_type pos);
PosIterator(ParagraphList * pl);
PosIterator(ParagraphList * pl, ParagraphList::iterator pit,
lyx::pos_type pos);
PosIterator(ParIterator const & parit, lyx::pos_type p);