]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaptionable.h
Braces need to be escaped as well on LATEXIFY
[lyx.git] / src / insets / InsetCaptionable.h
index 5e06d77b73134212b0b38590dbffbea942cd419c..8d0b486bcff7b3ccdb569f6cc9eea58eaba5d0b2 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_; }
        ///
@@ -43,7 +43,7 @@ protected:
        virtual bool hasSubCaptions(ParIterator const &) const { return false; }
        ///
        void addToToc(DocIterator const & di, bool output_active,
-                                 UpdateType utype) const;
+                                 UpdateType utype, TocBackend & backend) const;
        /// Update the counters of this inset and of its contents
        void updateBuffer(ParIterator const &, UpdateType);
        ///