git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30048 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-06-11 21:03:54 +00:00
parent f50c47d4be
commit 09177238e6

View File

@ -244,7 +244,7 @@ void InsetBibitem::fillWithBibKeys(BiblioInfo & keys, InsetIterator const & it)
{
docstring const key = getParam("key");
BibTeXInfo keyvalmap(false);
keyvalmap.label(trim(getParam("label")));
keyvalmap.label(bibLabel());
DocIterator doc_it(it);
doc_it.forwardPos();
keyvalmap[from_ascii("ref")] = doc_it.paragraph().asString();