X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLength.h;h=aaf19238e69541a47db7eb47cea89cdf08ac9bf7;hb=0c05432284f144bcb6c278a60d54d9bc777829e0;hp=8f192f85c6730d05a68a2102b20b06b8f06371fb;hpb=de990f72e1ba856ed5f8e5c617c17cdf382ab3a7;p=lyx.git diff --git a/src/Length.h b/src/Length.h index 8f192f85c6..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 @@ -98,12 +96,6 @@ public: */ 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 current inset width as - * width and the EM value of the current font. - */ - int inPixels(MetricsBase const &) const; /// return the value in Big Postscript points. /// Caution: Inaccurate for em, ex, mu and percent units. int inBP() const;