X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetVSpace.cpp;h=d4e1aaf4a8f8d9773e3f0953593c6bfdd2c30e8d;hb=d4550b7a4d64e9ff772cf3a7635cb4ca532fb340;hp=7edbebf3b4e8eaac03b9b11d05f0112bd89589ce;hpb=8ea3d1f130513eaf54e6a9ad49619059cd0052b9;p=lyx.git diff --git a/src/insets/InsetVSpace.cpp b/src/insets/InsetVSpace.cpp index 7edbebf3b4..d4e1aaf4a8 100644 --- a/src/insets/InsetVSpace.cpp +++ b/src/insets/InsetVSpace.cpp @@ -24,6 +24,7 @@ #include "MetricsInfo.h" #include "OutputParams.h" #include "output_xhtml.h" +#include "texstream.h" #include "Text.h" #include "support/debug.h" @@ -149,8 +150,6 @@ void InsetVSpace::metrics(MetricsInfo & mi, Dimension & dim) const dim.asc = height / 2 + (a - d) / 2; // align cursor with the dim.des = height - dim.asc; // label text dim.wid = ADD_TO_VSPACE_WIDTH + 2 * vspace_arrow_size + 5 + w; - // Cache the inset dimension. - setDimCache(mi, dim); }