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 =