]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.h
move some selection related stuff over to textcursor.C
[lyx.git] / src / lyxlength.h
index fa1d1a1eb369642831c5a588d5cef8d65b9ac135..d64c93fbbc438f9caf08fd0444b3fc6a90c301df 100644 (file)
@@ -70,9 +70,7 @@ public:
        /// return the on-screen size of this length of an image
        int inBP() const;
 
-       /** If "data" is valid, the length represented by it is
-         stored into "result", if that is not 0. */
-       friend bool isValidLength(string const & data, LyXLength * result = 0);
+       friend bool isValidLength(string const & data, LyXLength * result);
 
 private:
        ///
@@ -85,8 +83,9 @@ private:
 bool operator==(LyXLength const & l1, LyXLength const & l2);
 ///
 bool operator!=(LyXLength const & l1, LyXLength const & l2);
-///
-bool isValidLength(string const & data, LyXLength * result);
+/** If "data" is valid, the length represented by it is
+    stored into "result", if that is not 0. */
+bool isValidLength(string const & data, LyXLength * result = 0);
 /// return the name of the given unit number
 char const * stringFromUnit(int unit);