diff --git a/src/insets/Inset.h b/src/insets/Inset.h index 14bd75fa39..eab36242b4 100644 --- a/src/insets/Inset.h +++ b/src/insets/Inset.h @@ -284,6 +284,12 @@ public: /// Is the width forced to some value? virtual bool hasFixedWidth() const { return false; } + + // FIXME This should really disappear in favor of + // docstring name() const { return from_ascii(insetName(lyxCode()))); } + // There's no reason to be using different names in different places. + // But to do this we would need to change the file format, since the names + // used there don't correspond to what is used here. /// virtual docstring name() const; /// diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 12252532d1..957bd8a033 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -161,6 +161,7 @@ InsetInclude::InsetInclude(InsetInclude const & other) CommandInfo const * InsetInclude::findInfo(std::string const & /* cmdName */) { + // FIXME // This is only correct for the case of listings, but it'll do for now. // In the other cases, this second parameter should just be empty. static const char * const paramnames[] = {"filename", "lstparams", ""};