]> git.lyx.org Git - features.git/commitdiff
micro amendments
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 29 Dec 2018 16:52:25 +0000 (17:52 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 29 Dec 2018 16:53:21 +0000 (17:53 +0100)
src/Buffer.cpp

index 385c0d024eaf7f58f6e63359d38dda1c21c4b286..50cc2f243fd25b8cdd3b43358b87c25357fcfedc 100644 (file)
@@ -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);
 }