X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextMetrics.cpp;h=37b779312562d260a5401e43321e166115af2a97;hb=f8f5a7b28d4c6fb432055911b81d01505696e66b;hp=ce942ce3f2907def24e5020198f4ee53f0b867ec;hpb=f54ef5c1739f18fe2cdd474a9d0e30a96e506797;p=features.git diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index ce942ce3f2..37b7793125 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -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;