]> git.lyx.org Git - lyx.git/blobdiff - src/VSpace.cpp
Remove wmf2eps as EMF > EPS converter
[lyx.git] / src / VSpace.cpp
index 342105727f849ad12049763529d034437660b423..971ac96a94e64053ef66d1b0271a151c8c45900e 100644 (file)
@@ -183,7 +183,7 @@ docstring const VSpace::asGUIName() const
 }
 
 
-string VSpace::asHTMLLength() const 
+string VSpace::asHTMLLength() const
 {
        string result;
        switch (kind_) {
@@ -228,7 +228,7 @@ int VSpace::inPixels(BufferView const & bv) const
                return 3 * default_height;
 
        case LENGTH:
-               return len_.len().inPixels(bv.workWidth());
+               return bv.inPixels(len_.len());
 
        default:
                LATTEST(false);