]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
tfracinset files is missing so all usage of tfrac is commented out
[lyx.git] / src / mathed / math_macroarg.h
index 434c3fd8dbeddb00007b5c74dc3a08e37f0955e3..d7d763d878a1e74eb949921b80b8e20c2ed93afc 100644 (file)
@@ -20,7 +20,7 @@
 class MathMacroArgument : public MathDimInset {
 public:
        ///
-       explicit MathMacroArgument(int);
+       explicit MathMacroArgument(std::size_t);
        ///
        std::auto_ptr<InsetBase> clone() const;
        ///
@@ -28,7 +28,7 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       int number() const { return number_; }
+       std::size_t number() const { return number_; }
        ///
        InsetBase::Code lyxCode() const { return MATHMACROARG_CODE; }
 
@@ -39,7 +39,7 @@ public:
 
 private:
        /// A number between 1 and 9
-       int number_;
+       std::size_t number_;
        ///
        char str_[3];
 };