]> git.lyx.org Git - features.git/commitdiff
* some more unused buffer parameters
authorStefan Schimanski <sts@lyx.org>
Tue, 4 Mar 2008 15:05:16 +0000 (15:05 +0000)
committerStefan Schimanski <sts@lyx.org>
Tue, 4 Mar 2008 15:05:16 +0000 (15:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23454 a592a061-630c-0410-9148-cb99ea01b6c8

src/Cursor.cpp
src/Text.cpp

index 86359ce8c983df8b6de1af365066dd850dd4faba..397331f7a686c46fc21067ed47c965035a6b1fe4 100644 (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;
        }
        
index 2a7942a607de69a2c49716f6bf773881cd97e498..5e18d6f18544fd41fb0ba7d924bd59f25a0cd689 100644 (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") {