commit ba99ea5b88850daa09a8a2af25e3a242bafe3acb
Author: Richard Heck <[email protected]>
Date: Fri Nov 6 15:51:13 2015 -0500
The cite engine info is needed by makeDocumentClass().
Fixes both #9797 and #9848.
diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index 537178e..3746882 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -355,6 +355,8 @@ BufferParams::BufferParams()
: pimpl_(new Impl)
{
setBaseClass(defaultBaseclass());
+ cite_engine_.push_back("basic");
+ cite_engine_type_ = ENGINE_TYPE_DEFAULT;
makeDocumentClass();
paragraph_separation = ParagraphIndentSeparation;
quotes_language = InsetQuotes::EnglishQuotes;
@@ -364,8 +366,6 @@ BufferParams::BufferParams()
papersize = PAPER_DEFAULT;
orientation = ORIENTATION_PORTRAIT;
use_geometry = false;
- cite_engine_.push_back("basic");
- cite_engine_type_ = ENGINE_TYPE_DEFAULT;
biblio_style = "plain";
use_bibtopic = false;
use_indices = false;