X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlength.h;h=1fc9e6f79cfa594d2a9fa6a2f07b043528399a94;hb=f8f59e97fb06149528a180c5964c9abb27e079a1;hp=e45d0f4a110680311d68907b652d4d4d21d25d0a;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/lyxlength.h b/src/lyxlength.h index e45d0f4a11..1fc9e6f79c 100644 --- a/src/lyxlength.h +++ b/src/lyxlength.h @@ -15,7 +15,7 @@ #ifndef LYX_LENGTH_H #define LYX_LENGTH_H -#include +#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