]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.h
fix #832
[lyx.git] / src / insets / insetspecialchar.h
index 9b9956775b63785d8cde2301ac55f022233f9dce..09bc4d7d02c613a9056d99e58111e5d08670e7b4 100644 (file)
@@ -54,7 +54,7 @@ public:
        ///
        int width(BufferView *, LyXFont const &) const;
        ///
-       void draw(BufferView *, LyXFont const &, int, float &, bool) const;
+       void draw(BufferView *, LyXFont const &, int, float &) const;
        ///
        void write(Buffer const *, std::ostream &) const;
        /// Will not be used when lyxf3
@@ -71,15 +71,9 @@ public:
        ///
        virtual Inset * clone(Buffer const &, bool same_id = false) const;
        ///
-       Inset::Code lyxCode() const
-       {
-               return Inset::SPECIALCHAR_CODE;
-       }
+       Inset::Code lyxCode() const { return Inset::SPECIALCHAR_CODE; }
        /// We don't need \begin_inset and \end_inset
-       bool directWrite() const
-       {
-               return true;
-       };
+       bool directWrite() const { return true; }
        ///
        void validate(LaTeXFeatures &) const;