mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Brown paper bag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19627 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
35eef0d67b
commit
f20ff85503
@ -1015,7 +1015,7 @@ InsetLayout const & TextClass::insetlayout(docstring const & name) const
|
|||||||
{
|
{
|
||||||
docstring n = name;
|
docstring n = name;
|
||||||
while (!n.empty()) {
|
while (!n.empty()) {
|
||||||
if (!insetlayoutlist_.count(n) > 0)
|
if (insetlayoutlist_.count(n) > 0)
|
||||||
return insetlayoutlist_[n];
|
return insetlayoutlist_[n];
|
||||||
docstring::size_type i = n.find(':');
|
docstring::size_type i = n.find(':');
|
||||||
if (i == string::npos)
|
if (i == string::npos)
|
||||||
|
Loading…
Reference in New Issue
Block a user