]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.h
Point fix, earlier forgotten
[lyx.git] / src / lyxlength.h
index fa1d1a1eb369642831c5a588d5cef8d65b9ac135..7ff6629f02644ab4d4adb9c6bf26311d39be6b70 100644 (file)
@@ -1,13 +1,17 @@
 // -*- C++ -*-
 /**
  * \file lyxlength.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Matthias Ettrich
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
-
 #ifndef LYX_LENGTH_H
 #define LYX_LENGTH_H
 
@@ -70,9 +74,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 +87,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);