]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlayout.h
hopefully fix tex2lyx linking.
[lyx.git] / src / lyxlayout.h
index 324bd3c028efbaac59eb7cb6023f803ef3294bea..2d12777bf6b48d09114c234b1393a92627c7f219 100644 (file)
@@ -21,6 +21,9 @@
 
 #include <string>
 
+
+namespace lyx {
+
 class LyXLex;
 class LyXTextClass;
 
@@ -60,7 +63,7 @@ public:
        ///
        lyx::docstring const & endlabelstring() const { return endlabelstring_; }
        ///
-       std::string const & preamble() const { return preamble_; }
+       docstring const & preamble() const { return preamble_; }
        ///
        std::string const & latexparam() const { return latexparam_; }
        ///
@@ -223,7 +226,10 @@ private:
        /// Internal tag to surround the item text in a list)
        std::string itemtag_;
        /// Macro definitions needed for this layout
-       std::string preamble_;
+       docstring preamble_;
 };
 
+
+} // namespace lyx
+
 #endif