* some more unused buffer parameters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23454 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-03-04 15:05:16 +00:00
parent cd63c1380b
commit 770b230704
2 changed files with 3 additions and 3 deletions

View File

@ -1812,7 +1812,7 @@ bool notifyCursorLeaves(Cursor const & old, Cursor & cur)
&& !cur.buffer().isClean()
&& cur.inTexted() && old.inTexted()
&& cur.pit() != old.pit()) {
old.paragraph().updateWords(old.buffer(), old.top());
old.paragraph().updateWords(old.top());
return false;
}

View File

@ -581,7 +581,7 @@ void Text::charInserted(Cursor & cur)
&& !par.isLetter(cur.pos() - 1)) {
// get the word in front of cursor
BOOST_ASSERT(this == cur.text());
cur.paragraph().updateWords(cur.buffer(), cur.top());
cur.paragraph().updateWords(cur.top());
}
}
@ -1206,7 +1206,7 @@ bool Text::read(Buffer const & buf, Lexer & lex,
// register the words in the global word list
CursorSlice sl = CursorSlice(*insetPtr);
sl.pit() = pars_.size() - 1;
pars_.back().updateWords(buf, sl);
pars_.back().updateWords(sl);
} else if (token == "\\begin_deeper") {
++depth;
} else if (token == "\\end_deeper") {