From 31c75d260e46b1e8bbeb0e9d7eab4f3b473dcdac Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 16 Sep 2010 09:49:43 +0000 Subject: [PATCH] Remove uneeded hack. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35411 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetLine.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/insets/InsetLine.cpp b/src/insets/InsetLine.cpp index fc31bd1e72..405e2be7dc 100644 --- a/src/insets/InsetLine.cpp +++ b/src/insets/InsetLine.cpp @@ -145,11 +145,6 @@ void InsetLine::draw(PainterInfo & pi, int x, int y) const { Dimension const dim = dimension(*pi.base.bv); - // check that it doesn't exceed the upper boundary - // FIXME: not sure this should be done... - if (y - offset_ - height_/2 < 0) - offset_ = y - height_/2 - 2; - // get the surrounding text color Color Line_color = pi.base.font.realColor(); -- 2.39.2