]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.cpp
Fix left/right border UI when toggling formal
[lyx.git] / src / insets / InsetSpace.cpp
index 7d76f3f62ea0a4dfb2c0bb9fec2c4bbb667ff892..2a709c4b0edf28c15fb3d070c02fe5b49a16a2b7 100644 (file)
@@ -260,8 +260,6 @@ void InsetSpace::metrics(MetricsInfo & mi, Dimension & dim) const
                        // shut up compiler
                        break;
        }
-       // Cache the inset dimension.
-       setDimCache(mi, dim);
 }
 
 
@@ -833,7 +831,7 @@ docstring InsetSpace::xhtml(XHTMLStream & xs, OutputParams const &) const
 void InsetSpace::validate(LaTeXFeatures & features) const
 {
        if (params_.kind == InsetSpaceParams::NEGMEDIUM ||
-           params_.kind == InsetSpaceParams::NEGTHICK) 
+           params_.kind == InsetSpaceParams::NEGTHICK)
                features.require("amsmath");
 }