]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / inseterror.h
index c9b3500edb43587f38fb0d4c05767ea1b819592c..4179e6cb7870b26d32e140d97beb9448e54d56df 100644 (file)
@@ -42,11 +42,11 @@ public:
        ///
        void Draw(LyXFont font, LyXScreen & scr, int baseline, float & x);
        ///
-       void Write(FILE * file);
+       void Write(ostream &);
        ///
        void Read(LyXLex & lex);
        ///
-       int Latex(FILE * file, signed char fragile);
+       int Latex(ostream &, signed char fragile);
        ///
        int Latex(string & file, signed char fragile);
        ///
@@ -56,13 +56,13 @@ public:
        ///
        bool AutoDelete() const;
        /// what appears in the minibuffer when opening
-       char const * EditMessage() {return _("Opened error");}
+       char const * EditMessage() const {return _("Opened error");}
        ///
        void Edit(int, int);
        ///
        unsigned char Editable() const;
        ///
-       InsetError * Clone() const;
+       Inset * Clone() const;
        ///
        Inset::Code LyxCode() const { return Inset::NO_CODE; }
        /// We don't want "begin" and "end inset" in lyx-file