]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.h
bug 183
[lyx.git] / src / lyxlength.h
index df31f9534900c41a1fe8565f3c016d02ce8b9189..8b75cb62ff71a7668242d52ca5458619a58a486b 100644 (file)
@@ -68,7 +68,7 @@ public:
 
        /// "data" must be a decimal number, followed by a unit
        explicit LyXLength(string const & data);
-       
+
        ///
        double value() const;
        ///
@@ -77,10 +77,8 @@ public:
        void value(double);
        ///
        void unit(LyXLength::UNIT unit);
-
-       /// real length in SP
-       //void lenght();
-
+       ///
+       bool zero() const;
        /// conversion
        string const asString() const;
        ///
@@ -100,6 +98,8 @@ private:
 ///
 bool operator==(LyXLength const & l1, LyXLength const & l2);
 ///
+bool operator!=(LyXLength const & l1, LyXLength const & l2);
+///
 bool isValidLength(string const & data, LyXLength * result);
 ///
 char const * stringFromUnit(int unit);