]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathMacroTemplate.h
* replace int type by the correct custom type for pos, idx and size.
[features.git] / src / mathed / MathMacroTemplate.h
index 36eb7fbab3e61090439f744a4d0a87fe3c6877bd..b90c8a96cb0c01d4f283118c3befef7fa0c14d8c 100644 (file)
@@ -89,11 +89,11 @@ private:
        ///
        void makeNonOptional(Cursor & cur);
        ///
-       pos_type defIdx() const { return optionals_ + 1; }
+       idx_type defIdx() const { return optionals_ + 1; }
        /// index of default value cell of optional parameter (#1 -> n=0)
-       pos_type optIdx(int n) const { return n + 1; }
+       idx_type optIdx(idx_type n) const { return n + 1; }
        ///
-       pos_type displayIdx() const { return optionals_ + 2; }
+       idx_type displayIdx() const { return optionals_ + 2; }
        /// The label with some holes to edit
        mutable MathData label_;
        ///