From 4856342a1eeb7a36ce72632862f55012c8dea9e4 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 17 Jan 2009 18:04:54 +0000 Subject: [PATCH] Whoops. Was programming in perl yesterday.... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28218 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BiblioInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index 471740dc2d..4f8ea5dda8 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -76,7 +76,7 @@ docstring BibTeXInfo::getValueForKey(string const & key, BibTeXInfo const * const xref) const { docstring const ret = operator[](key); - if (!ret.empty() or !xref) + if (!ret.empty() || !xref) return ret; return (*xref)[key]; }