]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
* src/insets/InsetSpace.cpp:
[lyx.git] / src / insets / Inset.h
index 620fc428e0e83a7c538082a26970b836b71eda64..172add48a9881ccce84c894c90a12cb1a564504c 100644 (file)
@@ -103,6 +103,9 @@ public:
        /// retrieve associated Buffer
        virtual Buffer & buffer();
        virtual Buffer const & buffer() const;
+       /// This checks whether the Buffer * actually points to an open 
+       /// Buffer. It might not if that Buffer has been closed.
+       bool isBufferValid() const;
 
        /// initialize view for this inset.
        /**