]> 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 1bde3a4d03a724335597b09baa2f3c8176f76f15..4179e6cb7870b26d32e140d97beb9448e54d56df 100644 (file)
@@ -1,12 +1,12 @@
 // -*- C++ -*-
 /* This file is part of*
- * ======================================================
+ * ====================================================== 
  *
  *           LyX, The Document Processor
  *      
  *         Copyright (C) 1995 Matthias Ettrich
  *
- *======================================================*/
+ * ====================================================== */
 
 #ifndef INSET_ERROR_H
 #define INSET_ERROR_H
@@ -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;
        ///
-       Inset * Clone();
+       Inset * Clone() const;
        ///
        Inset::Code LyxCode() const { return Inset::NO_CODE; }
        /// We don't want "begin" and "end inset" in lyx-file