From: Richard Heck Date: Mon, 9 Aug 2010 17:14:45 +0000 (+0000) Subject: Minor cleanup. We don't need the deleted call, as that is done at the X-Git-Tag: 2.0.0~2830 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2a6109e9724d47a4b4ddf153b36bcddb57fb2376;p=features.git Minor cleanup. We don't need the deleted call, as that is done at the beginning of updateBuffer() anyway. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35104 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index bac5e52655..2ced899b47 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1577,7 +1577,6 @@ void Buffer::writeLyXHTMLSource(odocstream & os, LaTeXFeatures features(*this, params(), runparams); validate(features); updateBuffer(UpdateMaster, OutputUpdate); - checkBibInfoCache(); d->bibinfo_.makeCitationLabels(*this); updateMacros(); updateMacroInstances(); diff --git a/src/Buffer.h b/src/Buffer.h index ef6e3274b8..5186994eaa 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -342,10 +342,6 @@ public: */ void validate(LaTeXFeatures &) const; - /// Return the list with all bibfiles in use (including bibfiles - /// of loaded child documents). - support::FileNameList const & - getBibfilesCache(UpdateScope scope = UpdateMaster) const; /// Information from BibTeX databases is cached in the Buffer, so /// we do not have to read the file over and over. /// Calling this method invalidates the cache and so requires a @@ -581,6 +577,10 @@ private: /// Update the list of all bibfiles in use (including bibfiles /// of loaded child documents). void updateBibfilesCache(UpdateScope scope = UpdateMaster) const; + /// Return the list with all bibfiles in use (including bibfiles + /// of loaded child documents). + support::FileNameList const & + getBibfilesCache(UpdateScope scope = UpdateMaster) const; /// Use the Pimpl idiom to hide the internals. class Impl;