]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
Properly communicate forced encodings
[lyx.git] / src / insets / InsetFlex.h
index 0f5a93ad152cf3a8d0a5aa8d66fc14a13f2fd91c..0844246769e7b76a344a855fa4fae68d4b942427 100644 (file)
 #ifndef INSETFLEX_H
 #define INSETFLEX_H
 
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
 
 namespace lyx {
 
 /** The Flex inset, e.g., CharStyle, Custom inset or XML short element
 
 */
-class InsetFlex : public InsetCollapsable {
+class InsetFlex : public InsetCollapsible {
 public:
        ///
        InsetFlex(Buffer *, std::string const & layoutName);
@@ -34,7 +34,7 @@ public:
        InsetLayout::InsetDecoration decoration() const;
        ///
        void write(std::ostream &) const;
-       /// should paragraph indendation be ommitted in any case?
+       /// should paragraph indendation be omitted in any case?
        bool neverIndent() const { return true; }
        ///
        bool hasSettings() const { return false; }
@@ -45,9 +45,6 @@ public:
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        void updateBuffer(ParIterator const & it, UpdateType utype);
-       ///
-       void addToToc(DocIterator const & dit, bool output_active,
-                     UpdateType utype) const; //override
 
 protected:
        ///