Buffer * b = first;
// We cannot use a for loop as the buffer list cycles.
do {
- bool const shown = guiApp->currentView()
- ? guiApp->currentView()->workArea(*b) : false;
- if (!shown) {
+ if (guiApp->currentView()
+ && guiApp->currentView()->workArea(*b)) {
QString label = toqstr(b->fileName().displayName(20));
if (!b->isClean())
label += "*";
if (contains(key, ','))
key = qstring_to_ucs4(toqstr(key).split(',')[0]);
- vector<CiteStyle> citeStyleList = citeStyles(buf->params().citeEngine());
+ vector<CiteStyle> citeStyleList = citeStyles(buf->params().citeEngine(),
+ buf->params().citeEngineType());
docstring_list citeStrings =
buf->masterBibInfo().getCiteStrings(key, bv->buffer());