Silence some warnings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21003 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-10-17 12:33:47 +00:00
parent b54bd5ae98
commit 63c10fcdfd

View File

@ -48,7 +48,7 @@ using support::ExceptionMessage;
using support::WarningException; using support::WarningException;
InsetInfo::InsetInfo(BufferParams const & bp, string const & name) 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) mouse_hover_(false)
{ {
setAutoBreakRows(true); setAutoBreakRows(true);
@ -57,7 +57,7 @@ InsetInfo::InsetInfo(BufferParams const & bp, string const & name)
} }
Inset * InsetInfo::editXY(Cursor & cur, int x, int y) Inset * InsetInfo::editXY(Cursor &, int, int)
{ {
return this; return this;
} }
@ -102,7 +102,7 @@ Translator<InsetInfo::info_type, std::string> const & InsetInfo::nameTranslator(
void InsetInfo::read(Buffer const & buf, Lexer & lex) void InsetInfo::read(Buffer const &, Lexer & lex)
{ {
string token; string token;
while (lex.isOK()) { while (lex.isOK()) {
@ -128,7 +128,7 @@ void InsetInfo::read(Buffer const & buf, Lexer & lex)
} }
void InsetInfo::write(Buffer const & buf, std::ostream & os) const void InsetInfo::write(Buffer const &, std::ostream & os) const
{ {
os << "Info\ntype \"" os << "Info\ntype \""
<< nameTranslator().find(type_) << nameTranslator().find(type_)