X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVSpace.cpp;h=66e3a6c7c91753a435b39b1b877dbcc564c34d13;hb=bfe98181169d9e697e515da974d9b6a15a06c940;hp=d176850c876d48fd64e261deab215c1f9ae7fb29;hpb=0fa4b7e736a6cc9c22620dcebbab457c219f79c8;p=lyx.git diff --git a/src/VSpace.cpp b/src/VSpace.cpp index d176850c87..66e3a6c7c9 100644 --- a/src/VSpace.cpp +++ b/src/VSpace.cpp @@ -16,7 +16,6 @@ #include "BufferParams.h" #include "BufferView.h" #include "support/gettext.h" -#include "Text.h" #include "TextMetrics.h" // for defaultRowHeight() #include "support/convert.h" @@ -264,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; @@ -277,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;