X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetText.cpp;h=e5b3e1308bec44d83b34b9808769d2f9fff148fa;hb=d65020b293ab208b1391f96a731e53e0c7274a02;hp=a74f4bc30af9e78b52cdec3fcf0861de91e99883;hpb=36f5607ec88a266db6359ed9616bbee856c88e7a;p=features.git diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index a74f4bc30a..e5b3e1308b 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -631,7 +631,7 @@ ParagraphList & InsetText::paragraphs() } -void InsetText::updateLabels(ParIterator const & it, UpdateType utype) +void InsetText::updateBuffer(ParIterator const & it, UpdateType utype) { ParIterator it2 = it; it2.forwardPos(); @@ -645,7 +645,7 @@ void InsetText::updateLabels(ParIterator const & it, UpdateType utype) cnt.clearLastLayout(); // FIXME cnt.saveLastCounter()? } - buffer().updateLabels(it2, utype); + buffer().updateBuffer(it2, utype); if (save_layouts) { // LYXERR0("Exiting " << name()); cnt.restoreLastLayout(); @@ -657,7 +657,7 @@ void InsetText::updateLabels(ParIterator const & it, UpdateType utype) // tclass.counters().clearLastLayout() // since we are saving and restoring the existing counters, etc. Counters const savecnt = tclass.counters(); - buffer().updateLabels(it2, utype); + buffer().updateBuffer(it2, utype); tclass.counters() = savecnt; } }