]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCitation.cpp
A little cleanup of some of the BibTeX info access.
[features.git] / src / insets / InsetCitation.cpp
index d88c8761d887a1b8aa7de097242bf7c7d9c30a52..6c5499e7eb5edbc1a278263809cd25061976c210 100644 (file)
@@ -217,8 +217,8 @@ docstring complexLabel(Buffer const & buffer,
        vector<docstring>::const_iterator end = keys.end();
        for (; it != end; ++it) {
                // get the bibdata corresponding to the key
-               docstring const author(biblist.getAbbreviatedAuthor(*it));
-               docstring const year(biblist.getYear(*it));
+               docstring const author = biblist.getAbbreviatedAuthor(*it);
+               docstring const year = biblist.getYear(*it);
 
                // Something isn't right. Fail safely.
                if (author.empty() || year.empty())