From da4e51a6c2987ef03d5f618f9cc43c87a2992fa4 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 21 May 2018 13:45:31 +0200 Subject: [PATCH] Fix wrong warning. --- src/TextClass.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TextClass.cpp b/src/TextClass.cpp index 4788fef7b1..f33dc18a88 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -1769,6 +1769,9 @@ DocumentClassPtr getDocumentClass( } } + if (cengine.empty()) + return doc_class; + LyXCiteEngine * ce = theCiteEnginesList[cengine]; if (!ce) { docstring const msg =