From 3cbf60249aba92d0cd96d55e6b1549155a16d091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sat, 18 Apr 2009 15:43:19 +0000 Subject: [PATCH] BiblioInfo.cpp: make it compilable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29313 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 fdbfa82243..8825c3c750 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -352,7 +352,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]; }