]> git.lyx.org Git - features.git/commitdiff
Bug.
authorRichard Heck <rgheck@comcast.net>
Thu, 11 Jun 2009 21:03:54 +0000 (21:03 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 11 Jun 2009 21:03:54 +0000 (21:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30048 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibitem.cpp

index c347bacfdfc8cd82c0f41203384c748aa07ae9d2..fcd4c746c449f847a53d40099dacb00b729f1d3a 100644 (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();