]> git.lyx.org Git - lyx.git/blobdiff - src/VSpace.cpp
Rename BufferView::updateScrollbar to show what does
[lyx.git] / src / VSpace.cpp
index abec3eff92569101a4db227f77c69417d6b65ba8..66e3a6c7c91753a435b39b1b877dbcc564c34d13 100644 (file)
@@ -263,10 +263,10 @@ int VSpace::inPixels(BufferView const & bv) const
        // This is how the skips are normally defined by LaTeX.
        // But there should be some way to change this per document.
        case SMALLSKIP:
-               return int(default_height / 4);
+               return default_height / 4;
 
        case MEDSKIP:
-               return int(default_height / 2);
+               return default_height / 2;
 
        case BIGSKIP:
                return default_height;
@@ -276,7 +276,7 @@ int VSpace::inPixels(BufferView const & bv) const
                return 3 * default_height;
 
        case HALFLINE:
-               return int(default_height / 2);
+               return default_height / 2;
 
        case FULLLINE:
                return default_height;