]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBibitem.cpp
Implement a cache for BibTeX data. There was a cache of sorts already in InsetCitatio...
[features.git] / src / insets / InsetBibitem.cpp
index e2195fe5968992c264425c68b7d58295e5a6d8bc..93015395e0697d00029fe271bc3dbf488856f5e7 100644 (file)
@@ -66,9 +66,7 @@ void InsetBibitem::updateCommand(docstring const & new_key, bool)
        docstring const old_key = getParam("key");
        docstring key = new_key;
 
-       BiblioInfo keys;
-       keys.fillWithBibKeys(&buffer());
-       vector<docstring> bibkeys = keys.getKeys();
+       vector<docstring> bibkeys = buffer().masterBibInfo().getKeys();
 
        int i = 1;