From f4016cb52e8d120c23656c449c5f18d64d4fef43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 8 Apr 2002 08:12:09 +0000 Subject: [PATCH] small stuff from Martin's list git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3941 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_inset.C | 4 ++++ src/mathed/math_kerninset.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mathed/math_inset.C b/src/mathed/math_inset.C index 87af584c5c..41b40a4474 100644 --- a/src/mathed/math_inset.C +++ b/src/mathed/math_inset.C @@ -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 } diff --git a/src/mathed/math_kerninset.C b/src/mathed/math_kerninset.C index af155e68be..e2d8b60e52 100644 --- a/src/mathed/math_kerninset.C +++ b/src/mathed/math_kerninset.C @@ -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 -- 2.39.2