mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8027 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
49e5945ce4
commit
be2db7308a
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user