mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
As noted by Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23518 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
56dec68703
commit
e7d3e98546
@ -232,7 +232,7 @@ LayoutFileIndex
|
||||
}
|
||||
}
|
||||
// If .layout is not in local directory, or an invalid layout is found, return null
|
||||
return string("");
|
||||
return string();
|
||||
}
|
||||
|
||||
|
||||
@ -241,7 +241,7 @@ LayoutFileIndex defaultBaseclass()
|
||||
if (BaseClassList::get().haveClass("article"))
|
||||
return string("article");
|
||||
if (BaseClassList::get().empty())
|
||||
return string("");
|
||||
return string();
|
||||
return BaseClassList::get().classList().front();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user