]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
Don't load bibtopic with Biblatex
[lyx.git] / src / insets / InsetLine.cpp
index 087dba7df2cc8a8fa429d4aaae2f4fec39d2f7dd..dc75aa42516a0e8b6597864d5d09e37f5a2cadd3 100644 (file)
@@ -25,6 +25,7 @@
 #include "MetricsInfo.h"
 #include "OutputParams.h"
 #include "output_xhtml.h"
+#include "texstream.h"
 #include "Text.h"
 
 #include "frontends/FontMetrics.h"
@@ -131,17 +132,6 @@ void InsetLine::metrics(MetricsInfo & mi, Dimension & dim) const
 
        dim.asc = max(fm.maxAscent(), offset_ + height_);
        dim.des = max(fm.maxDescent(), - offset_);
-
-       // Cache the inset dimension
-       setDimCache(mi, dim);
-}
-
-
-Dimension const InsetLine::dimension(BufferView const & bv) const
-{
-       // We cannot use InsetCommand::dimension() as this returns the dimension
-       // of the button, which is not used here.
-       return Inset::dimension(bv);
 }