From: Juergen Spitzmueller Date: Sat, 29 Dec 2018 16:52:25 +0000 (+0100) Subject: micro amendments X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5d9c2550184fd6c0e73559e632d3d818e6eabddc;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); }