]> git.lyx.org Git - lyx.git/blobdiff - src/vspace.C
clean up a bit
[lyx.git] / src / vspace.C
index 5966cb66af53b48fbedd7295f72ef55ea65b6812..507ade8b9bddc755ff9faccfb007fc89e0a10930 100644 (file)
@@ -485,7 +485,7 @@ int VSpace::inPixels(BufferView const * bv) const
                retval = bv->buffer()->params.getDefSkip().inPixels(bv);
                break;
 
-       // This is how the skips are normally defined by LateX. 
+       // This is how the skips are normally defined by LateX.
        // But there should be some way to change this per document.
        case SMALLSKIP:
                retval = default_height / 4;
@@ -505,7 +505,7 @@ int VSpace::inPixels(BufferView const * bv) const
                break;
 
        case LENGTH:
-               retval = len_.len().inPixels(bv->workWidth(), default_height);
+               retval = len_.len().inPixels(bv->workWidth());
                break;
 
        }