]> git.lyx.org Git - features.git/blobdiff - src/lyxfind.C
some cascading name changes
[features.git] / src / lyxfind.C
index 183cb7b3c04967e2cac8220a71ad4deed4e567e0..27b9a6a38882301a77857e98e6231e54d073e638 100644 (file)
@@ -152,7 +152,7 @@ bool SearchForward(BufferView * bv, string const & str,
                        ++pos;
                else {
                        pos = 0;
-                       par = par->Next();
+                       par = par->next();
                }
        }
        if (par) {
@@ -179,7 +179,7 @@ bool SearchBackward(BufferView * bv, string const & str,
                else {
                        // We skip empty paragraphs (Asger)
                        do {
-                               par = par->Previous();
+                               par = par->previous();
                                if (par)
                                        pos = par->Last() - 1;
                        } while (par && pos < 0);