From 09177238e6e4eeadca7de46edd54d314d78d14ac Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 11 Jun 2009 21:03:54 +0000 Subject: [PATCH] Bug. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30048 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBibitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index c347bacfdf..fcd4c746c4 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -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(); -- 2.39.2