Hi,

could anybody please apply the following minipatch (alternatively, you
might remove the word "font")? "g++ -Wall" complains about redundant
parameters all the times.

Michael

***********************

Index: src/insets/inset.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/insets/inset.h,v
retrieving revision 1.15
diff -u -r1.15 inset.h
--- src/insets/inset.h  2001/07/27 12:03:36     1.15
+++ src/insets/inset.h  2001/07/27 13:00:26
@@ -289,7 +289,7 @@
        virtual void close(BufferView *) {}
        /// check if the font of the char we want inserting is correct
        /// and modify it if it is not.
-       virtual bool checkInsertChar(LyXFont & font) { return true; }
+       virtual bool checkInsertChar(LyXFont & /*font*/) { return true; }

 protected:
        ///
@@ -449,7 +449,7 @@
        }
        /// check if the font of the char we want inserting is correct
        /// and modify it if it is not.
-       virtual bool checkInsertChar(LyXFont & font) { return true; }
+       virtual bool checkInsertChar(LyXFont & /*font*/) { return true; }
        ///
        // needed for spellchecking text
        ///




-- 
======================================================================
Michael Schmitt                            phone:     +49 451 500 3725
Institute for Telematics                   secretary: +49 451 500 3721
Medical University of Luebeck              fax:       +49 451 500 3722
Ratzeburger Allee 160              eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany           WWW:   http://www.itm.mu-luebeck.de
======================================================================

Reply via email to