params.quotes_language = lga;
int const pos = langModule->languageCO->currentIndex();
- params.language = languages.getLanguage(lang_[pos]);
+ params.language = lyx::languages.getLanguage(lang_[pos]);
// numbering
if (params.getTextClass().hasTocLevels()) {
numberStepLE->setValidator(new QIntValidator(0, 1000000, this));
firstlineLE->setValidator(new QIntValidator(0, 1000000, this));
lastlineLE->setValidator(new QIntValidator(0, 1000000, this));
- placementLE->setValidator(new QRegExpValidator(QRegExp("[\*tbph]*"), this));
+ placementLE->setValidator(new QRegExpValidator(QRegExp("[\\*tbph]*"), this));
}