]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Capitalize labels of floats, etc. Fixes #11993.
[lyx.git] / src / Buffer.h
index f65d31d654d06070f95b34b73a247cf70133e34d..9adc7172c8eeb3dd7a218e2861a52e3df4b805b3 100644 (file)
@@ -259,7 +259,7 @@ public:
        bool autoSave() const;
        /// save emergency file
        /// \return a status message towards the user.
-       docstring emergencyWrite();
+       docstring emergencyWrite() const;
 
 //FIXME:The following function should be private
 //private:
@@ -567,6 +567,8 @@ public:
        ParIterator par_iterator_end();
        ///
        ParConstIterator par_iterator_end() const;
+       /// Is document empty ?
+       bool empty() const;
 
        // Position of the child buffer where it appears first in the master.
        DocIterator firstChildPosition(Buffer const * child);