mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
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:
parent
78caccb1c5
commit
397784e853
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user