From a663ba2f1b9a63a8c7eb5a5862438f60acf7bd82 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 30 Nov 2007 22:16:02 +0000 Subject: [PATCH] Comments. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21887 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/Inset.h | 6 ++++++ src/insets/InsetInclude.cpp | 1 + 2 files changed, 7 insertions(+) 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", ""};