]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclasslist.h
couple more fixes
[lyx.git] / src / lyxtextclasslist.h
index a5aa7cedb98ffd7b768aeb8691a40afbf13d936a..94d71bbc06b2ffb80e73d9a01c9b78d49bfd9e55 100644 (file)
@@ -38,9 +38,9 @@ public:
        ///
        typedef ClassList::const_iterator const_iterator;
        ///
-       const_iterator begin() const { return classlist.begin(); }
+       const_iterator begin() const { return classlist_.begin(); }
        ///
-       const_iterator end() const { return classlist.end(); }
+       const_iterator end() const { return classlist_.end(); }
 
        /// Gets textclass number from name, -1 if textclass name does not exist
        std::pair<bool, lyx::textclass_type> const
@@ -53,9 +53,7 @@ public:
        bool Read();
 private:
        ///
-       mutable ClassList classlist;
-       ///
-       void Add(LyXTextClass const &);
+       mutable ClassList classlist_;
 };
 
 ///