]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetloa.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / insetloa.h
index 91434c520a1199cc0c682f7e5cebfe823ed5448f..27757f4a00da0f6504d4a6c11584d92ce8807994 100644 (file)
@@ -7,7 +7,7 @@
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1996-1999 the LyX Team.
  * 
- *======================================================*/
+ * ====================================================== */
 
 #ifndef INSET_LOA_H
 #define INSET_LOA_H
 
 /** Used to insert table of algorithms
  */
-class InsetLOA: public InsetCommand {
+class InsetLOA : public InsetCommand {
 public:
        ///
-       InsetLOA(): InsetCommand("listofalgorithms") {}
+       InsetLOA() : InsetCommand("listofalgorithms") {}
        ///
-       InsetLOA(Buffer * b): InsetCommand("listofalgorithms"),owner(b) {}
+       InsetLOA(Buffer * b) : InsetCommand("listofalgorithms"), owner(b) {}
         ///
        void Validate(LaTeXFeatures & features) const;
         ///
-        Inset * Clone() { return new InsetLOA(owner); }
+        Inset * Clone() const { return new InsetLOA(owner); }
        ///
        string getScreenLabel() const { return _("List of Algorithms"); }
 
-       
-       //void Edit(int, int);
         ///
        unsigned char Editable() const {
                return 0; // not yet
        }
        ///
-       bool Display() const { return true; }
+       bool display() const { return true; }
        ///
        Inset::Code LyxCode() const { return Inset::LOA_CODE; }
 private: