]> git.lyx.org Git - lyx.git/commitdiff
Silence some warnings.
authorRichard Heck <rgheck@comcast.net>
Wed, 17 Oct 2007 12:33:47 +0000 (12:33 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 17 Oct 2007 12:33:47 +0000 (12:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21003 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetInfo.cpp

index b41ad64843a16739f310df1d415f8b3c6a3e4ee3..031d00e5c03da7f5e3cfd76330892333f83b3024 100644 (file)
@@ -48,7 +48,7 @@ using support::ExceptionMessage;
 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);
@@ -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;
 }
@@ -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;
        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  \""
           << nameTranslator().find(type_)