]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.h
Point fix, earlier forgotten
[lyx.git] / src / lyxlength.h
index dcf7198c1827a7c73c5ff1d7f804b4dd5ab9c294..7ff6629f02644ab4d4adb9c6bf26311d39be6b70 100644 (file)
@@ -1,20 +1,20 @@
 // -*- 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
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 
 /**
@@ -74,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:
        ///
@@ -89,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);