]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.h
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathNumber.h
index d6ccbb0d204eecd09fb54f29112a8c0fb0cabc12..dc9d3cd84891a634fd23aceac2e0fc14c38d174b 100644 (file)
 
 #include "InsetMath.h"
 
+#include "support/docstring.h"
 
-namespace lyx {
 
+namespace lyx {
 
-/** Some inset that "is" a number
- *  mainly for math-extern
+/** Some inset that "is" a number mainly for math-extern
  */
 class InsetMathNumber : public InsetMath {
 public:
@@ -48,11 +48,12 @@ public:
        void write(WriteStream & os) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// the number as string
        docstring str_;
 };
 
 
 } // namespace lyx
+
 #endif