From cfce0ac009e8820df79d845c2b0c237cbd441dcb Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 22 Mar 2018 15:52:23 +0100 Subject: [PATCH] Use separate BibInfo for child This is used when the file is compiled standalone Fixes: #11083 (cherry picked from commit 1c623ffe8f2e34e38248709935ca5fa475d2e05a) --- src/Buffer.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 1597e89872..3c2695619a 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2358,7 +2358,7 @@ BiblioInfo const & Buffer::bibInfo() const void Buffer::registerBibfiles(FileNamePairList const & bf) const { Buffer const * const tmp = masterBuffer(); if (tmp != this) - return tmp->registerBibfiles(bf); + tmp->registerBibfiles(bf); for (auto const & p : bf) { FileNamePairList::const_iterator tmp = @@ -2429,9 +2429,6 @@ void Buffer::collectBibKeys(FileNameList & checkedFiles) const void Buffer::addBiblioInfo(BiblioInfo const & bin) const { - // We add the biblio info to the master buffer, - // if there is one, but also to every single buffer, - // in case a child is compiled alone. BiblioInfo & bi = d->bibinfo_; bi.mergeBiblioInfo(bin);