From 770b230704ca129329f300f2d276ff24ff677ced Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Tue, 4 Mar 2008 15:05:16 +0000 Subject: [PATCH] * some more unused buffer parameters git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23454 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Cursor.cpp | 2 +- src/Text.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cursor.cpp b/src/Cursor.cpp index 86359ce8c9..397331f7a6 100644 --- a/src/Cursor.cpp +++ b/src/Cursor.cpp @@ -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; } diff --git a/src/Text.cpp b/src/Text.cpp index 2a7942a607..5e18d6f185 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -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") { -- 2.39.5