]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_diminset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_diminset.h
index 02835afc5cbc475706f83ee59d9fae48a3e52972..1fb5a18af1bd508996add90c2fc89a23d7ca9f0b 100644 (file)
@@ -5,20 +5,15 @@
 #include "math_inset.h"
 #include "dimension.h"
 
+
 /// things that need the dimension cache
 
 class MathDimInset : public MathInset {
 public:
        /// not sure whether the initialization is really necessary
        MathDimInset() {}
-       /// read ascent value (should be inline according to gprof)
-       int ascent() const { return dim_.ascent(); }
-       /// read descent
-       int descent() const { return dim_.descent(); }
-       /// read width
-       int width() const { return dim_.width(); }
-       /// 
-       void dimensions(Dimension & dim) const;
+       ///
+       Dimension dimensions() const { return dim_; }
        ///
        void metricsT(TextMetricsInfo const &) const;
        ///