void InsetFormula::draw(BufferView * bv, LyXFont const & font,
- int y, float & xx, bool) const
+ int y, float & xx) const
{
+ cache(bv);
// This initiates the loading of the preview, so should come
// before the metrics are computed.
- preview_->setView(bv);
bool const use_preview = preview_->previewReady();
int const x = int(xx);