]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
tex2lyx/text.cpp: fix typos
[lyx.git] / src / insets / InsetBranch.h
index 616abe04b44bb98002a584282ab84d3093dfd85d..6cc64ec8b28ec2b230d56b710047279f7306affe 100644 (file)
@@ -65,7 +65,7 @@ private:
        ///
        ColorCode backgroundColor(PainterInfo const &) const;
        ///
-       int latex(otexstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
@@ -79,7 +79,7 @@ private:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        ///
        void addToToc(DocIterator const &) const;
        ///
@@ -109,7 +109,7 @@ private:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
-       docstring name() const { return from_ascii("Branch"); }
+       docstring layoutName() const { return from_ascii("Branch:") + branch(); }
        ///
        Inset * clone() const { return new InsetBranch(*this); }