mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Check if literal param exists before querying value.
Otherwise LyX asserts.
This commit is contained in:
parent
e15a8f3551
commit
caf72c07cd
@ -160,7 +160,8 @@ int InsetCommand::docbook(odocstream &, OutputParams const &) const
|
||||
|
||||
void InsetCommand::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
if (params()["literal"] == "true")
|
||||
if (params().info().hasParam("literal")
|
||||
&& params()["literal"] == "true")
|
||||
return;
|
||||
|
||||
ParamInfo::const_iterator it = params().info().begin();
|
||||
|
Loading…
Reference in New Issue
Block a user