]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
fix reading the author field.
[lyx.git] / src / lyxtextclass.h
index fd4eeb986a07cbf0dcfb98358bd5837cd9bbb3c7..e400338ae4ad911c8c62b0a6d1efa2b437547b36 100644 (file)
@@ -84,6 +84,8 @@ public:
 
        /// Sees to that the textclass structure has been loaded
        bool load() const;
+       /// Has this layout file been loaded yet?
+       bool loaded() const { return loaded_; }
 
        /// the list of floats defined in the document class
        FloatList & floats();
@@ -227,7 +229,7 @@ private:
        LayoutList layoutlist_;
        /// CharStyles available to this layout
        mutable CharStyles charstylelist_;
-       
+
        /// available types of float, eg. figure, algorithm.
        boost::shared_ptr<FloatList> floatlist_;
 
@@ -235,7 +237,7 @@ private:
        boost::shared_ptr<Counters> ctrs_;
 
        /// Has this layout file been loaded yet?
-       mutable bool loaded;
+       mutable bool loaded_;
 
        /// Is the TeX class available?
        bool texClassAvail_;