]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaptionable.h
Fix indentation
[lyx.git] / src / insets / InsetCaptionable.h
index 005c371ea2b99448cad45ee437b636ff0f3a3260..870489888cae4e0239e3562514fae73f8fc8c69f 100644 (file)
 #ifndef INSET_CAPTIONABLE_H
 #define INSET_CAPTIONABLE_H
 
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
 
 
 namespace lyx {
 
-class InsetCaptionable : public InsetCollapsable
+class InsetCaptionable : public InsetCollapsible
 {
 public:
        InsetCaptionable(Buffer * buffer, std::string const & type = "senseless")
-               : InsetCollapsable(buffer), caption_type_(type) {}
+               : InsetCollapsible(buffer), caption_type_(type) {}
        ///
        std::string const & captionType() const { return caption_type_; }
        ///
@@ -45,7 +45,7 @@ protected:
        void addToToc(DocIterator const & di, bool output_active,
                                  UpdateType utype, TocBackend & backend) const;
        /// Update the counters of this inset and of its contents
-       void updateBuffer(ParIterator const &, UpdateType);
+       void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
        ///
        bool insetAllowed(InsetCode) const;
 private: