case LFUN_OPTIONAL_INSERT:
return new InsetOptArg(buf);
- case LFUN_BIBITEM_INSERT:
- return new InsetBibitem(buf, InsetCommandParams(BIBITEM_CODE));
-
case LFUN_FLOAT_INSERT: {
// check if the float type exists
string const argument = to_utf8(cmd.argument());
if (message.type_ == ErrorException) {
// This should never happen!
Alert::error(message.title_, message.details_);
- LyX::cref().exit(1);
+ lyx_exit(1);
} else if (message.type_ == WarningException) {
Alert::warning(message.title_, message.details_);
return 0;