X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fdimension.h;h=5dd32d3bebd2583314cfeec6e55158fc0b2f345a;hb=e5a46922e916a06ad1b958d5895cc3cfb4f13d2c;hp=bf42106de0bb986e8fc5449b4a7b1fb7f5777d9b;hpb=e24bf64c68102691fc76081de9fb57926b482726;p=lyx.git diff --git a/src/dimension.h b/src/dimension.h index bf42106de0..5dd32d3beb 100644 --- a/src/dimension.h +++ b/src/dimension.h @@ -12,11 +12,8 @@ #ifndef DIMENSION_H #define DIMENSION_H - namespace lyx { -class LyXFont; - /// Simple wrapper around three ints class Dimension { public: @@ -35,8 +32,6 @@ public: void operator+=(Dimension const & dim); /// set to empty box void clear() { wid = asc = des = 0; } - /// set to empty box suitble for given font - void clear(LyXFont const & font); /// get height int height() const { return asc + des; } /// get ascent