]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / mathed / InsetMathSymbol.h
index d9b26edcfe759627744696f89a37949719bb0d56..5382f72e85712f3fe7ed510465eefdd683070165 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.
  */
@@ -35,7 +35,7 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       int kerning(BufferView const * bv) const { return kerning_; }
+       int kerning(BufferView const *) const { return kerning_; }
 
        ///
        bool isRelOp() const;
@@ -68,6 +68,8 @@ public:
        void write(WriteStream & os) const;
        ///
        void infoize2(odocstream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_SYMBOL_CODE; }
 
 private:
        virtual Inset * clone() const;