}
if (tmp) {
- for (int j = 0; j < tmp; ++j)
- texrow.newline();
-
+ texrow.newlines(tmp);
texrow.start(owner_->id(), i + 1);
column = 0;
} else {
if (!speller)
return false;
- if (!inInset().allowSpellCheck())
+ if (!d->layout_->spellcheck || !inInset().allowSpellCheck())
return false;
locateWord(from, to, WHOLE_WORD);