From: Richard Heck Date: Tue, 10 Aug 2010 14:28:24 +0000 (+0000) Subject: buffer_ --> buffer() X-Git-Tag: 2.0.0~2820 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b28eca74767f9bb65d0723e68d2fcfb3a23bbfae;p=lyx.git buffer_ --> buffer() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35114 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index d650feab06..9024c8fe51 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -54,7 +54,7 @@ docstring const key_prefix = from_ascii("key-"); InsetBibitem::InsetBibitem(Buffer * buf, InsetCommandParams const & p) : InsetCommand(buf, p, "bibitem") { - buffer_->invalidateBibinfoCache(); + buffer().invalidateBibinfoCache(); if (getParam("key").empty()) setParam("key", key_prefix + convert(++key_counter)); } @@ -63,7 +63,7 @@ InsetBibitem::InsetBibitem(Buffer * buf, InsetCommandParams const & p) InsetBibitem::~InsetBibitem() { if (isBufferLoaded()) - buffer_->invalidateBibinfoCache(); + buffer().invalidateBibinfoCache(); } @@ -93,6 +93,7 @@ void InsetBibitem::updateCommand(docstring const & new_key, bool) "it will be changed to %2$s."), new_key, key)); } setParam("key", key); + buffer().invalidateBibinfoCache(); } @@ -127,7 +128,7 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd) cur.bv().buffer().changeRefsIfUnique(old_key, params()["key"], CITE_CODE); cur.forceBufferUpdate(); - buffer_->invalidateBibinfoCache(); + buffer().invalidateBibinfoCache(); } break; }