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:
Martin Vermeer 2007-08-18 11:48:53 +00:00
parent 35eef0d67b
commit f20ff85503

View File

@ -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)