mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Rethrow excepction instead of a copy
This fixes the cppcheck warning "(style) Throwing a copy of the caught exception instead of rethrowing the original exception."
This commit is contained in:
parent
42362cfb87
commit
03395b7871
@ -103,7 +103,7 @@ void InsetBibtex::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
Alert::warning(message.title_, message.details_);
|
||||
cur.noScreenUpdate();
|
||||
} else
|
||||
throw message;
|
||||
throw;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user