InsetBibitem::InsetBibitem(Buffer * buf, InsetCommandParams const & p)
: InsetCommand(buf, p, "bibitem")
{
- buffer_->invalidateBibinfoCache();
+ buffer().invalidateBibinfoCache();
if (getParam("key").empty())
setParam("key", key_prefix + convert<docstring>(++key_counter));
}
InsetBibitem::~InsetBibitem()
{
if (isBufferLoaded())
- buffer_->invalidateBibinfoCache();
+ buffer().invalidateBibinfoCache();
}
"it will be changed to %2$s."), new_key, key));
}
setParam("key", key);
+ buffer().invalidateBibinfoCache();
}
cur.bv().buffer().changeRefsIfUnique(old_key,
params()["key"], CITE_CODE);
cur.forceBufferUpdate();
- buffer_->invalidateBibinfoCache();
+ buffer().invalidateBibinfoCache();
}
break;
}