]> git.lyx.org Git - features.git/blobdiff - src/TextMetrics.cpp
move updateLables to buffer
[features.git] / src / TextMetrics.cpp
index ce942ce3f2907def24e5020198f4ee53f0b867ec..37b779312562d260a5401e43321e166115af2a97 100644 (file)
@@ -390,7 +390,7 @@ bool TextMetrics::redoParagraph(pit_type const pit)
                LYXERR(Debug::INFO, "MacroContext not initialised!"
                        << " Going through the buffer again and hope"
                        << " the context is better then.");
-               updateLabels(bv_->buffer());
+               bv_->buffer().updateLabels();
                parPos = text_->macrocontextPosition();
                LASSERT(!parPos.empty(), /**/);
                parPos.pit() = pit;