]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathDecoration.h
index 0834e155778315327c68ef93b35e506f0c839cb1..c317e50e49848c26605dace3b3b26289e6cc44f1 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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