]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatexaccent.C
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetlatexaccent.C
index 02fed3d41726bd70eb92a509557c21dcaa61d977..95a3ffc3de8ebb5ad4bb5773c54125aa1aed69eb 100644 (file)
@@ -433,7 +433,9 @@ void InsetLatexAccent::draw(PainterInfo & pi, int x, int baseline) const
                        // closer to the top of the dot-less 'i' or 'j'.
                        char tmpic = ic; // store the ic when we
                        ic = 'x';        // calculates the ascent of
+#ifdef WITH_WARNINGS
 #warning metrics?
+#endif
                        int asc = ascent(); // the dot-less version (here: 'x')
                        ic = tmpic;      // set the orig ic back
                        y = baseline - asc; // update to new y coord.