From efbbf7a31fa62008cae51573022eefc2e09733c9 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sat, 12 Jan 2008 06:17:37 +0000 Subject: [PATCH] Fix r22486, which causes an infinite loop when a bibtex file is not available. Reported by Horst git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22505 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBibtex.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index 9996cd23f0..f8cc990cf9 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -104,8 +104,6 @@ void InsetBibtex::doDispatch(Cursor & cur, FuncRequest & cmd) embedStatus = split(embedStatus, emb, ','); while (!tmp.empty()) { EmbeddedFile file(changeExtension(tmp, "bib"), cur.buffer().filePath()); - if (!file.exists()) - continue; if (!newBibfiles.empty()) newBibfiles += ","; newBibfiles += tmp;