]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathDecoration.h
index 0834e155778315327c68ef93b35e506f0c839cb1..d0c7195216d676dbf1e9cc3e587d9cab1d386f34 100644 (file)
@@ -16,6 +16,8 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
 class latexkeys;
 
 /// Decorations and accents over (below) a math object
@@ -32,14 +34,14 @@ public:
        ///
        void normalize(NormalStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        bool isScriptable() const;
        ///
        void validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool upper() const;
        ///
@@ -58,4 +60,7 @@ private:
        /// width for non-wide deco
        mutable int dw_;
 };
+
+} // namespace lyx
+
 #endif