]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommand.cpp
Phantom is fragile (#9456)
[lyx.git] / src / insets / InsetCommand.cpp
index 004f2f328300fa577a61f5f32af9ad7da0ebbe9a..3cc8f703c7b29d36f1b033f0f768bb8b626f4517 100644 (file)
@@ -126,7 +126,8 @@ void InsetCommand::latex(otexstream & os, OutputParams const & runparams_in) con
 }
 
 
-int InsetCommand::plaintext(odocstream & os, OutputParams const &) const
+int InsetCommand::plaintext(odocstringstream & os,
+        OutputParams const &, size_t) const
 {
        docstring const str = "[" + buffer().B_("LaTeX Command: ")
                + from_utf8(getCmdName()) + "]";
@@ -196,7 +197,7 @@ bool InsetCommand::getStatus(Cursor & cur, FuncRequest const & cmd,
                        string const newtype = cmd.getArg(1);
                        status.setEnabled(p_.isCompatibleCommand(p_.code(), newtype));
                        status.setOnOff(newtype == p_.getCmdName());
-               } 
+               }
                status.setEnabled(true);
                return true;