]> git.lyx.org Git - lyx.git/commitdiff
small stuff from Martin's list
authorAndré Pönitz <poenitz@gmx.net>
Mon, 8 Apr 2002 08:12:09 +0000 (08:12 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 8 Apr 2002 08:12:09 +0000 (08:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3941 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_inset.C
src/mathed/math_kerninset.C

index 87af584c5c28098d9a54a4348547f4a58a332f91..41b40a4474c0217ab5c7fe6836f237c7ace15782 100644 (file)
@@ -195,13 +195,17 @@ void MathInset::draw(Painter &, int, int) const
 
 void MathInset::metricsT(TextMetricsInfo const &) const
 {
+#ifdef WITH_WARNINGS
        lyxerr << "MathInset::metricsT(Text) called directly!\n";
+#endif
 }
 
 
 void MathInset::drawT(TextPainter &, int, int) const
 {
+#ifdef WITH_WARNINGS
        lyxerr << "MathInset::drawT(Text) called directly!\n";
+#endif
 }
 
 
index af155e68befad60ec615e22dbf6af751805884e1..e2d8b60e52a3e5a06ea38434c45b5efc67f5d02b 100644 (file)
@@ -32,7 +32,7 @@ MathInset * MathKernInset::clone() const
 }
 
 
-void MathKernInset::metrics(MathMetricsInfo const & mi) const
+void MathKernInset::metrics(MathMetricsInfo const & /*mi*/) const
 {
 #ifdef WITH_WARNINGS
 #warning fix this once the interface to LyXLength has improved