]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.h
Fix bug 4463. The crash was due to a call to X from inside a child process.
[lyx.git] / src / Spacing.h
index 8b00a4a327d6720f4158b4d6d471d7d48086019f..689c79355aec8f5252c8550714a6dfe2c088de38 100644 (file)
@@ -16,7 +16,7 @@
 #include "tex2lyx/Spacing.h"
 #else
 
-#include <iosfwd>
+#include "support/strfwd.h"
 #include <string>
 
 
@@ -58,10 +58,12 @@ public:
        void set(Spacing::Space sp, std::string const & val);
        ///
        void writeFile(std::ostream &, bool para = false) const;
-       ///
-       std::string const writeEnvirBegin() const;
-       ///
-       std::string const writeEnvirEnd() const;
+       /// useSetSpace is true when using the variant supported by
+       /// the memoir class.
+       std::string const writeEnvirBegin(bool useSetSpace) const;
+       /// useSetSpace is true when using the variant supported by
+       /// the memoir class.
+       std::string const writeEnvirEnd(bool useSetSpace) const;
 
 private:
        ///