]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYArrow.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / mathed / InsetMathXYArrow.h
index baeef628c80ea9ec2d5095538db61b56800a1245..75734bb856f7bfedec23c97ae13855b952d138e2 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -28,7 +28,7 @@ public:
        ///
        InsetMathXYArrow();
        ///
-       virtual std::auto_ptr<Inset> clone() const;
+       virtual Inset * clone() const;
        ///
        bool metrics(MetricsInfo & mi) const;
        ///
@@ -42,14 +42,14 @@ public:
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
-
-public:
        ///
        InsetMathXYMatrix const * targetMatrix() const;
        ///
        MathData const & targetCell() const;
        ///
        MathData const & sourceCell() const;
+       ///
+       InsetCode lyxCode() const { return MATH_XYARROW_CODE; }
 
        ///
        bool up_;