From b28eca74767f9bb65d0723e68d2fcfb3a23bbfae Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 10 Aug 2010 14:28:24 +0000 Subject: [PATCH] buffer_ --> buffer() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35114 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBibitem.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; }