*
* \author André Pönitz
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
-
#include <config.h>
#include "dimension.h"
-#include "frontends/font_metrics.h"
+
+namespace lyx {
void Dimension::operator+=(Dimension const & dim)
wid += dim.wid;
}
-
-void Dimension::clear(LyXFont const & font)
-{
- asc = font_metrics::maxAscent(font);
- des = font_metrics::maxDescent(font);
- wid = 0;
-}
+} // namespace lyx