]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathKern.cpp
Fix external middle-mouse pasting with Qt5/X11.
[lyx.git] / src / mathed / InsetMathKern.cpp
index fddecfe58e27c7cc19b905b8b1c8d674e74149df..80e3243ae615b9fb047ee9bc1ebd2b080e534f2f 100644 (file)
@@ -47,7 +47,7 @@ void InsetMathKern::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        dim.asc = 0;
        dim.des = 0;
-       dim.wid = wid_.inPixels(0, mathed_char_width(mi.base.font, 'M'));
+       dim.wid = wid_.inPixels(mi.base);
 }
 
 
@@ -73,10 +73,4 @@ void InsetMathKern::normalize(NormalStream & os) const
 }
 
 
-docstring InsetMathKern::mathmlize(MathStream &) const
-{
-       return docstring();
-}
-
-
 } // namespace lyx