Whoops. Was programming in perl yesterday....

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28218 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-01-17 18:04:54 +00:00
parent 8883d5438e
commit 4856342a1e

View File

@ -76,7 +76,7 @@ docstring BibTeXInfo::getValueForKey(string const & key,
BibTeXInfo const * const xref) const BibTeXInfo const * const xref) const
{ {
docstring const ret = operator[](key); docstring const ret = operator[](key);
if (!ret.empty() or !xref) if (!ret.empty() || !xref)
return ret; return ret;
return (*xref)[key]; return (*xref)[key];
} }