using support::WarningException;
InsetInfo::InsetInfo(BufferParams const & bp, string const & name)
- : InsetText(bp), bp_(bp), type_(UNKNOWN_INFO), name_(),
+ : InsetText(bp), type_(UNKNOWN_INFO), name_(), bp_(bp),
mouse_hover_(false)
{
setAutoBreakRows(true);
}
-Inset * InsetInfo::editXY(Cursor & cur, int x, int y)
+Inset * InsetInfo::editXY(Cursor &, int, int)
{
return this;
}
-void InsetInfo::read(Buffer const & buf, Lexer & lex)
+void InsetInfo::read(Buffer const &, Lexer & lex)
{
string token;
while (lex.isOK()) {
}
-void InsetInfo::write(Buffer const & buf, std::ostream & os) const
+void InsetInfo::write(Buffer const &, std::ostream & os) const
{
os << "Info\ntype \""
<< nameTranslator().find(type_)