]> git.lyx.org Git - features.git/commitdiff
The updateBibfilesCache routine is not in master.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 14 Dec 2018 16:10:05 +0000 (11:10 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 14 Dec 2018 16:10:05 +0000 (11:10 -0500)
I think it must be a leftover from all the back and forth of trying
to get this right. But there's only one way to find out...

src/Buffer.cpp

index 7f3ded982e736af91b2eb1857f93187bcefdfe98..8a8736223b3742cc2f9a418804aacb6a62355f51 100644 (file)
@@ -2335,6 +2335,7 @@ void Buffer::getLabelList(vector<docstring> & list) const
 }
 
 
+#if 0
 void Buffer::updateBibfilesCache(UpdateScope scope) const
 {
        // FIXME This is probably unnecssary, given where we call this.
@@ -2372,6 +2373,7 @@ void Buffer::updateBibfilesCache(UpdateScope scope) const
        if (d->bibfiles_cache_ != old_cache)
                d->bibinfo_cache_valid_ = false;
 }
+#endif
 
 
 void Buffer::invalidateBibinfoCache() const
@@ -2393,9 +2395,6 @@ docstring_list const & Buffer::getBibfiles(UpdateScope scope) const
        if (pbuf != this && scope != UpdateChildOnly)
                return pbuf->getBibfiles();
 
-       if (!d->bibfile_cache_valid_)
-               this->updateBibfilesCache(scope);
-
        return d->bibfiles_cache_;
 }