]> git.lyx.org Git - lyx.git/blobdiff - src/Length.h
Assure correct spacing of colored items in mathed
[lyx.git] / src / Length.h
index c04a41f394e3f73f7b863b70f0f6f02ec39a84f3..aaf19238e69541a47db7eb47cea89cdf08ac9bf7 100644 (file)
@@ -20,8 +20,6 @@
 
 namespace lyx {
 
-class MetricsBase;
-
 // Solaris/x86 version 9 and earlier define these
 #undef PC
 #undef SP
@@ -97,11 +95,7 @@ public:
         *      FontMetrics::em() to get this value.
         */
        int inPixels(int text_width, int em_width = 0) const;
-       /** return the on-screen size of this length
-        *
-        *  This version of the function uses the right EM definition.
-        */
-       int inPixels(MetricsBase const &) const;
+
        /// return the value in Big Postscript points.
        /// Caution: Inaccurate for em, ex, mu and percent units.
        int inBP() const;