]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.h
* support/os_unix.C (canAutoOpen, autoOpenFile): on Mac OS X, use
[lyx.git] / src / lyxlength.h
index e45d0f4a110680311d68907b652d4d4d21d25d0a..1fc9e6f79cfa594d2a9fa6a2f07b043528399a94 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef LYX_LENGTH_H
 #define LYX_LENGTH_H
 
-#include <string>
+#include "support/docstring.h"
 
 
 namespace lyx {
@@ -81,6 +81,8 @@ public:
        bool empty() const;
        /// return string representation
        std::string const asString() const;
+       /// return string representation
+       docstring const asDocstring() const;
        /// return string representation for LaTeX
        std::string const asLatexString() const;
        /// return the on-screen size of this length