]> git.lyx.org Git - lyx.git/blobdiff - src/BaseClassList.h
Abdel is right.
[lyx.git] / src / BaseClassList.h
index df3e6ddb1854eb72509a608108a258da8a91d9c7..4f058f6de1418b1ae35bc95dbd2729e0dcf18d24 100644 (file)
@@ -37,6 +37,7 @@ public:
        ///
        operator base_type() const { return data_; }
        ///
+       bool empty() const { return data_.empty(); }
 private:
        base_type data_;
 };
@@ -82,7 +83,7 @@ public:
        LayoutFile const & operator[](std::string const & classname) const;
        ///
        LayoutFile & operator[](std::string const & classname);
-       /// Read textclass list.  Returns false if this fails.
+       /// Read textclass list. Returns false if this fails.
        bool read();
        /// Clears the textclass so as to force it to be reloaded
        void reset(LayoutFileIndex const & tc);