]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaptionable.cpp
Fix assertion when checking if change in selection
[lyx.git] / src / insets / InsetCaptionable.cpp
index 0683aa69485b86d0cd2fe8e8fd9087125f6af943..467106fa43e3e10888b7d68e633a4ca03aa5e96a 100644 (file)
@@ -110,7 +110,7 @@ void InsetCaptionable::addToToc(DocIterator const & cpit, bool output_active,
        TocBuilder & b = backend.builder(caption_type_);
        b.pushItem(pit, str, output_active);
        // Proceed with the rest of the inset.
-       InsetCollapsable::addToToc(cpit, output_active, utype, backend);
+       InsetCollapsible::addToToc(cpit, output_active, utype, backend);
        b.pop();
 }
 
@@ -131,7 +131,7 @@ void InsetCaptionable::updateBuffer(ParIterator const & it, UpdateType utype)
        // Tell captions what the current float is
        cnts.current_float(caption_type_);
        cnts.isSubfloat(subflt);
-       InsetCollapsable::updateBuffer(it, utype);
+       InsetCollapsible::updateBuffer(it, utype);
        // Restore counters
        cnts.current_float(saveflt);
        if (utype == OutputUpdate)
@@ -142,7 +142,7 @@ void InsetCaptionable::updateBuffer(ParIterator const & it, UpdateType utype)
 
 bool InsetCaptionable::insetAllowed(InsetCode c) const
 {
-       return (c == CAPTION_CODE) || InsetCollapsable::insetAllowed(c);
+       return (c == CAPTION_CODE) || InsetCollapsible::insetAllowed(c);
 }