]> git.lyx.org Git - lyx.git/blobdiff - src/Length.h
GuiDocument.cpp: remove unneeded conversion
[lyx.git] / src / Length.h
index 67073a2bf1d05ee1ab21b9f4b781fbca7442cb7f..11b591dcb8e69be8df6b5a225ea9ef1bc31eecee 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Matthias Ettrich
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  * \author John Levon
  *
@@ -92,6 +92,9 @@ public:
        /// return the value in Big Postscript points.
        int inBP() const;
 
+       /// return the default unit (centimeter or inch)
+       static UNIT defaultUnit();
+
        friend bool isValidLength(std::string const & data, Length * result);
 
 private: