X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fvspace.C;h=f62d348c10313cce41177e295d6544f8537fb751;hb=dad1fc66e44a4dad94eb1e9ffd5736bf8f59ae6d;hp=e6c6b439d6b3f2bcbcb78ff6d6750fa633fdbddb;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/vspace.C b/src/vspace.C index e6c6b439d6..f62d348c10 100644 --- a/src/vspace.C +++ b/src/vspace.C @@ -13,6 +13,7 @@ #include "buffer.h" #include "lyxrc.h" #include "BufferView.h" +#include "lyxtext.h" #include "support/LAssert.h" #include "support/lstrings.h" @@ -467,7 +468,7 @@ string const VSpace::asLatexCommand(BufferParams const & params) const int VSpace::inPixels(BufferView const * bv) const { // Height of a normal line in pixels (zoom factor considered) - int const default_height = bv->defaultHeight(); // [pixels] + int const default_height = defaultRowHeight(); // [pixels] int retval = 0;