X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxtextclass.h;h=e400338ae4ad911c8c62b0a6d1efa2b437547b36;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=5f9ccca6908fb71eb94126feaacc0e33bf431bcf;hpb=3420904448b247cc270597c31b52d777e38ac647;p=lyx.git diff --git a/src/lyxtextclass.h b/src/lyxtextclass.h index 5f9ccca690..e400338ae4 100644 --- a/src/lyxtextclass.h +++ b/src/lyxtextclass.h @@ -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(); @@ -235,7 +237,7 @@ private: boost::shared_ptr ctrs_; /// Has this layout file been loaded yet? - mutable bool loaded; + mutable bool loaded_; /// Is the TeX class available? bool texClassAvail_;