factory.cpp: fix wrong call of abort() introduced in r22137

(I got:
 factory.cpp(366) : error C2039: 'abort': Is no element of 'lyx::support')

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22140 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-12-13 22:55:57 +00:00
parent 78caccb1c5
commit 397784e853

View File

@ -363,7 +363,7 @@ Inset * createInset(Buffer & buf, FuncRequest const & cmd)
if (message.type_ == ErrorException) { if (message.type_ == ErrorException) {
Alert::error(message.title_, message.details_); Alert::error(message.title_, message.details_);
LyX::cref().emergencyCleanup(); LyX::cref().emergencyCleanup();
support::abort(); abort();
} else if (message.type_ == WarningException) { } else if (message.type_ == WarningException) {
Alert::warning(message.title_, message.details_); Alert::warning(message.title_, message.details_);
return 0; return 0;