]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.cpp
Improvements to the citation dialog UI. It is now possible to search particular field...
[lyx.git] / src / insets / InsetInclude.cpp
index 08461aadc60069ce37f889c8aaad5e165770def3..20979947762132b9175827507a2ed22c219e41b0 100644 (file)
@@ -727,14 +727,14 @@ void InsetInclude::getLabelList(Buffer const & buffer,
 
 
 void InsetInclude::fillWithBibKeys(Buffer const & buffer,
-               biblio::BibKeyList & keys, InsetIterator const & /*di*/) const
+               BiblioInfo & keys, InsetIterator const & /*di*/) const
 {
        if (loadIfNeeded(buffer, params_)) {
                string const included_file = includedFilename(buffer, params_).absFilename();
                Buffer * tmp = theBufferList().getBuffer(included_file);
                //FIXME This is kind of a dirty hack and should be made reasonable.
                tmp->setParentName("");
-               tmp->fillWithBibKeys(keys);
+               keys.fillWithBibKeys(tmp);
                tmp->setParentName(parentFilename(buffer));
        }
 }