X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLength.h;h=aaf19238e69541a47db7eb47cea89cdf08ac9bf7;hb=0c05432284f144bcb6c278a60d54d9bc777829e0;hp=c04a41f394e3f73f7b863b70f0f6f02ec39a84f3;hpb=b3b7675f544128ea4bbff564262774533af3598f;p=lyx.git diff --git a/src/Length.h b/src/Length.h index c04a41f394..aaf19238e6 100644 --- a/src/Length.h +++ b/src/Length.h @@ -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;