]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inset.C
oh well
[lyx.git] / src / mathed / math_inset.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
 }