]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommand.h
Circumvent odd stmary font metrics (part of #9990).
[lyx.git] / src / insets / InsetCommand.h
index c3b5005d2716580cf2474b41a09eb0fbbe2a2b53..1be72a8ec856db9c0e55c221dd2d9e1b6d1c1868 100644 (file)
@@ -39,6 +39,8 @@ public:
        ///
        InsetCommand(InsetCommand const & rhs);
        ///
+       InsetCommand & operator=(InsetCommand const & rhs);
+       ///
        virtual ~InsetCommand();
        ///
        InsetCommand * asInsetCommand() { return this; }
@@ -66,7 +68,7 @@ public:
        ///
        void write(std::ostream & os) const { p_.write(os); }
        ///
-       void read(Lexer & lex, Buffer const * buf) { p_.read(lex, buf); }
+       void read(Lexer & lex) { p_.Read(lex, &buffer()); }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///