]> git.lyx.org Git - features.git/blobdiff - src/Text2.cpp
s/updateLabels/updateBuffer/g, per a suggestion of Abdel's.
[features.git] / src / Text2.cpp
index f2f89415c9939761217a5e91f91ca4ae5472ae23..e290ee0266cfec271b63451591c23efc4e91145f 100644 (file)
@@ -231,7 +231,7 @@ void Text::setLayout(Cursor & cur, docstring const & layout)
        pit_type undopit = undoSpan(end - 1);
        recUndo(cur, start, undopit - 1);
        setLayout(start, end, layout);
-       cur.buffer()->updateLabels();
+       cur.buffer()->updateBuffer();
 }
 
 
@@ -290,7 +290,7 @@ void Text::changeDepth(Cursor & cur, DEPTH_CHANGE type)
        }
        // this handles the counter labels, and also fixes up
        // depth values for follow-on (child) paragraphs
-       cur.buffer()->updateLabels();
+       cur.buffer()->updateBuffer();
 }