]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
Paragraph::inInset() shall not be used if the owner inset was not initialized. Make...
[lyx.git] / src / TextClass.cpp
index a594375cda5930118f51d3513ea237c56dc77d64..5c79fa6e9c5b1e30c490c18766decc7bb9471716 100644 (file)
@@ -1017,7 +1017,7 @@ InsetLayout const & DocumentClass::insetLayout(docstring const & name) const
                size_t i = n.find(':');
                if (i == string::npos)
                        break;
-               n = n.substr(0,i);
+               n = n.substr(0, i);
        }
        return plain_insetlayout_;
 }