]> git.lyx.org Git - features.git/commitdiff
Fix bug #10896.
authorRichard Heck <rgheck@lyx.org>
Thu, 22 Feb 2018 05:46:31 +0000 (00:46 -0500)
committerRichard Heck <rgheck@lyx.org>
Thu, 22 Feb 2018 05:49:35 +0000 (00:49 -0500)
src/insets/InsetCommandParams.cpp
src/insets/InsetCommandParams.h

index 39c7715dc5b1cda6f820dad32b54c24f1703da32..3f3befe3b6c2b9bb3d8d72158bfa235ea13f5951 100644 (file)
@@ -132,10 +132,10 @@ bool ParamInfo::hasParam(std::string const & name) const
 
 
 void ParamInfo::add(std::string const & name, ParamType type,
-                    ParamHandling handling, bool ignore,
+                    ParamHandling handling, bool ignoreval,
                     docstring default_value)
 {
-       info_.push_back(ParamData(name, type, handling, ignore, default_value));
+       info_.push_back(ParamData(name, type, handling, ignoreval, default_value));
 }
 
 
index eb976c28d7ce612ae5372bf2120d8400c0108ccf..874a9a53dbb946c9514c5fd2f561821ad05e3ef2 100644 (file)
@@ -88,10 +88,10 @@ public:
        };
 
        /// adds a new parameter
-       /// If ignore is true, then the parameter is never saved, and is always
+       /// If ignoreval is true, then the parameter is never saved, and is always
        /// given the default value.
        void add(std::string const & name, ParamType type,
-                ParamHandling = HANDLING_NONE, bool ignore = false,
+                ParamHandling = HANDLING_NONE, bool ignoreval = false,
                 docstring default_value = docstring());
        ///
        bool empty() const { return info_.empty(); }