From: Juergen Spitzmueller Date: Sat, 29 Dec 2018 16:52:25 +0000 (+0100) Subject: micro amendments X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2777 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c457ea90e;p=features.git micro amendments --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 385c0d024e..50cc2f243f 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -3943,10 +3943,9 @@ void Buffer::addReference(docstring const & label, Inset * inset, ParIterator it void Buffer::setInsetLabel(docstring const & label, InsetLabel const * il, bool const active) { - static LabelInfo linfo; + LabelInfo linfo; linfo.label = label; linfo.inset = il; - linfo.references = References(); linfo.active = active; masterBuffer()->d->ref_cache_.push_back(linfo); }