X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxtextclasslist.h;h=94d71bbc06b2ffb80e73d9a01c9b78d49bfd9e55;hb=5091380d6bad1686800e384ed1bbb03836a15aab;hp=a84a05aac5f609948af3fcd07cd185824559d68a;hpb=8283e978f8d621041c432b9b88a476bfd567385c;p=lyx.git diff --git a/src/lyxtextclasslist.h b/src/lyxtextclasslist.h index a84a05aac5..94d71bbc06 100644 --- a/src/lyxtextclasslist.h +++ b/src/lyxtextclasslist.h @@ -38,28 +38,22 @@ 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. - Returns -1 if textclass name does not exist - */ + /// Gets textclass number from name, -1 if textclass name does not exist std::pair const NumberOfClass(string const & textclass) const; /// LyXTextClass const & operator[](lyx::textclass_type textclass) const; - /** Read textclass list. - Returns false if this fails - */ + /// Read textclass list. Returns false if this fails. bool Read(); private: /// - mutable ClassList classlist; - /// - void Add(LyXTextClass const &); + mutable ClassList classlist_; }; ///