]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
Don't add localswitch if no language changes
[lyx.git] / src / insets / InsetBranch.h
index fcf706144eb4a5511cc088507b0619a7a5f07bb3..391f2475f06765971a9d4d69afb324b5bef05943 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef INSETBRANCH_H
 #define INSETBRANCH_H
 
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
 
 namespace lyx {
 
@@ -42,7 +42,7 @@ public:
 
 /// The Branch inset for alternative, conditional output.
 
-class InsetBranch : public InsetCollapsable
+class InsetBranch : public InsetCollapsible
 {
 public:
        ///
@@ -88,8 +88,7 @@ private:
        ///
        std::string contextMenuName() const;
        ///
-       void addToToc(DocIterator const & di, bool output_active,
-                                 UpdateType utype) const;
+       void updateBuffer(ParIterator const & it, UpdateType utype);
        ///
        void setParams(InsetBranchParams const & params) { params_ = params; }
 
@@ -103,7 +102,7 @@ private:
         * Note that Branch insets are considered part of the
         * document when they are selected XOR inverted.
         */
-    bool producesOutput(bool const child = false) const;
+       bool producesOutput() const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///