]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRef.cpp
Fix drawing of empty boxes
[lyx.git] / src / mathed / InsetMathRef.cpp
index ae1768351c426d20af4ab680e98282ad9c864222..ef08cbcd3d0610d95c8b9446e85b5959261822fe 100644 (file)
@@ -184,7 +184,7 @@ void InsetMathRef::updateBuffer(ParIterator const & it, UpdateType /*utype*/)
                return;
        }
        // register this inset into the buffer reference cache.
-       buffer().references(getTarget()).push_back(make_pair(this, it));
+       buffer().addReference(getTarget(), this, it);
 }