diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index a7990d97f4..a83068201b 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -52,14 +52,14 @@ namespace os = support::os; InsetBibtex::InsetBibtex(Buffer * buf, InsetCommandParams const & p) : InsetCommand(buf, p, "bibtex") { - buffer_->invalidateBibinfoCache(); + buffer().invalidateBibinfoCache(); } InsetBibtex::~InsetBibtex() { if (isBufferLoaded()) - buffer_->invalidateBibfileCache(); + buffer().invalidateBibfileCache(); } diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 62804ffd16..a2164475c3 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -188,7 +188,7 @@ InsetInclude::InsetInclude(InsetInclude const & other) InsetInclude::~InsetInclude() { if (isBufferLoaded()) - buffer_->invalidateBibfileCache(); + buffer().invalidateBibfileCache(); delete label_; }