]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / insetspecialchar.h
index 354b5a24418bdb974a25244393d69a74b7ecc913..406c793301908d7171807569463c1d6606ca10f4 100644 (file)
@@ -21,7 +21,7 @@
 struct LaTeXFeatures;
 
 ///  Used to insert special chars
-class InsetSpecialChar: public Inset {
+class InsetSpecialChar : public Inset {
 public:
 
        /// The different kinds of special chars we support
@@ -37,12 +37,10 @@ public:
        };
 
        ///
-       InsetSpecialChar();
+       InsetSpecialChar() {}
        ///
        InsetSpecialChar(Kind k);
        ///
-       ~InsetSpecialChar();
-       ///
        int Ascent(LyXFont const & font) const;
        ///
        int Descent(LyXFont const & font) const;
@@ -51,11 +49,11 @@ public:
        ///
        void Draw(LyXFont, LyXScreen & scr, int baseline, float & x);
        ///
-       void Write(FILE * file);
+       void Write(ostream &);
        /// Will not be used when lyxf3
        void Read(LyXLex & lex);
        /// 
-       int Latex(FILE * file, signed char fragile);
+       int Latex(ostream &, signed char fragile);
        ///
        int Latex(string & file, signed char fragile);
        ///
@@ -63,7 +61,7 @@ public:
        ///
        int DocBook(string & file);
        ///
-       Inset * Clone();
+       Inset * Clone() const;
        ///  
        Inset::Code LyxCode() const
        {