mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
Amend bc73a85778ffb1432bdc510d9a710e7394f42163
Missing return in `specialCharKindToXMLEntity`. Previously, the functions that were merged into `specialCharKindToXMLEntity` did not return any kind of error in case an unknown special character is met (enumerated value). This behaviour is preserved.
This commit is contained in:
parent
ff2a2b2a8a
commit
2592a36dae
@ -565,6 +565,8 @@ string specialCharKindToXMLEntity(InsetSpecialChar::Kind kind) {
|
||||
return "LaTeX2ε";
|
||||
case InsetSpecialChar::Kind::PHRASE_LATEX:
|
||||
return "LaTeX";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user