mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
cmake/merge: fix compile, this split conflicts with the others
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22137 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4d30504965
commit
78caccb1c5
@ -70,7 +70,7 @@ mouse_button::state FuncRequest::button() const
|
||||
}
|
||||
|
||||
|
||||
void split(vector<string> & args, string const & str)
|
||||
void splitArg(vector<string> & args, string const & str)
|
||||
{
|
||||
istringstream is(str);
|
||||
while (is) {
|
||||
@ -93,7 +93,7 @@ void split(vector<string> & args, string const & str)
|
||||
string FuncRequest::getArg(unsigned int i) const
|
||||
{
|
||||
vector<string> args;
|
||||
split(args, to_utf8(argument_));
|
||||
splitArg(args, to_utf8(argument_));
|
||||
return i < args.size() ? args[i] : string();
|
||||
}
|
||||
|
||||
|
@ -363,7 +363,7 @@ Inset * createInset(Buffer & buf, FuncRequest const & cmd)
|
||||
if (message.type_ == ErrorException) {
|
||||
Alert::error(message.title_, message.details_);
|
||||
LyX::cref().emergencyCleanup();
|
||||
abort();
|
||||
support::abort();
|
||||
} else if (message.type_ == WarningException) {
|
||||
Alert::warning(message.title_, message.details_);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user