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
This commit is contained in:
Richard Heck 2010-08-09 17:14:45 +00:00
parent e992140685
commit 2a6109e972
2 changed files with 4 additions and 5 deletions

View File

@ -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();

View File

@ -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;