]> git.lyx.org Git - features.git/commitdiff
Add a FIXME. We need to be more careful here.
authorRichard Heck <rgheck@comcast.net>
Mon, 6 Oct 2008 03:16:26 +0000 (03:16 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 6 Oct 2008 03:16:26 +0000 (03:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26766 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetLayout.cpp

index 28707d33c1e99e404358c9bcb951f79d2db4ee8e..245a48ea0237c25bbb57ae29eceeb5d2ac10192d 100644 (file)
@@ -61,6 +61,10 @@ InsetLayout::InsetDecoration translateDecoration(std::string const & str)
 bool InsetLayout::read(Lexer & lex, TextClass & tclass)
 {
        name_ = support::subst(lex.getDocString(), '_', ' ');
+       // FIXME We need to check for name_.empty() here, and
+       // take the same sort of action as in TextClass::read()
+       // if it is empty. Or, better, we could read name_ there,
+       // take action there, etc.
 
        enum {
                IL_BGCOLOR,