for (int i = 0; i != bibfiles.count(); ++i)
add_->bibLW->addItem(changeExtension(bibfiles[i], ""));
- QString bibstyle = styleFile();
+ QString const bibstyle = styleFile();
bibtocCB->setChecked(bibtotoc() && !bibtopic);
bibtocCB->setEnabled(!bibtopic);
else if (bibtopic && btPrintCO->count() < 3)
btPrintCO->insertItem(1, qt_("all uncited references", 0));
- docstring btprint = params_["btprint"];
+ docstring const & btprint = params_["btprint"];
int btp = 0;
- if ((bibtopic && btprint == "btPrintNotCited") ||
- (!bibtopic && btprint == "btPrintAll"))
+ if ((bibtopic && btprint == from_ascii("btPrintNotCited")) ||
+ (!bibtopic && btprint == from_ascii("btPrintAll")))
btp = 1;
- else if (bibtopic && btprint == "btPrintAll")
+ else if (bibtopic && btprint == from_ascii("btPrintAll"))
btp = 2;
btPrintCO->setCurrentIndex(btp);
int item_nr = -1;
- QStringList str = bibStyles();
+ QStringList const str = bibStyles();
for (int i = 0; i != str.count(); ++i) {
QString item = changeExtension(str[i], "");
if (item == bibstyle)