mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Amend bc73a85778
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…
Reference in New Issue
Block a user