]> git.lyx.org Git - lyx.git/blobdiff - src/font.h
remove more forms.h cruft
[lyx.git] / src / font.h
index d078ea8ba2c5c19d9f0084be9e6b339dc65c5f1f..ae164a7d10f76fbe3e435fdb79bfd46b10729b26 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *        
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
@@ -51,7 +51,7 @@ struct lyxfont {
        }
        ///
        static
-       int width(char const * s, int n, LyXFont const & f);
+       int width(char const * s, size_t n, LyXFont const & f);
        ///
        static
        int width(string const & s, LyXFont const & f) {
@@ -59,10 +59,10 @@ struct lyxfont {
                return width(s.c_str(), s.length(), f);
        }
        ///
-       static
-       int width(char const * s, LyXFont const & f) {
-               return width(s, strlen(s), f);
-       }
+       //static
+       //int width(char const * s, LyXFont const & f) {
+       //      return width(s, strlen(s), f);
+       //}
        ///
        static
        int signedWidth(string const & s, LyXFont const & f);