]> git.lyx.org Git - lyx.git/blobdiff - src/vspace.h
ws changes only
[lyx.git] / src / vspace.h
index 99d85d0102716929e508831b11c6e8f0ed4988c6..6e0bf5ff8dbf675ceb26baf1996c4cfbf4e2195f 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "lyxgluelength.h"
 
-#include "LString.h"
 
 class BufferParams;
 class BufferView;
@@ -43,12 +42,12 @@ public:
        explicit VSpace(LyXGlueLength const & l);
 
        /// Constructor for reading from a .lyx file
-       explicit VSpace(string const & data);
+       explicit VSpace(std::string const & data);
 
        /// return the type of vertical space
        vspace_kind kind() const;
        /// return the length of this space
-       LyXGlueLength length() const;
+       LyXGlueLength const & length() const;
 
        // a flag that switches between \vspace and \vspace*
        bool keep() const;
@@ -60,9 +59,9 @@ public:
        // conversion
 
        /// how it goes into the LyX file
-       string const asLyXCommand() const;
+       std::string const asLyXCommand() const;
        /// the latex representation
-       string const asLatexCommand(BufferParams const & params) const;
+       std::string const asLatexCommand(BufferParams const & params) const;
        /// the size of the space on-screen
        int inPixels(BufferView const & bv) const;