mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
More general fix for part of 5403.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27100 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2efe55640a
commit
bdc1d80151
@ -46,11 +46,11 @@ namespace {
|
||||
|
||||
InsetLayout::InsetDecoration translateDecoration(std::string const & str)
|
||||
{
|
||||
if (str == "classic" || str == "Classic")
|
||||
if (support::compare_ascii_no_case(str, "classic") == 0)
|
||||
return InsetLayout::Classic;
|
||||
if (str == "minimalistic" || str == "Minimalistic")
|
||||
if (support::compare_ascii_no_case(str, "minimalistic") == 0)
|
||||
return InsetLayout::Minimalistic;
|
||||
if (str == "conglomerate" || str == "Conglomerate")
|
||||
if (support::compare_ascii_no_case(str, "conglomerate") == 0)
|
||||
return InsetLayout::Conglomerate;
|
||||
return InsetLayout::Default;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user