From 585b3217f506eb52ab4a4143d3ac7ff43093ccfe Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 25 Sep 2007 09:35:36 +0000 Subject: [PATCH] Remove unused code and comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20485 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 0cef0e7ef3..eed6d0403d 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1116,8 +1116,6 @@ bool BufferView::workAreaDispatch(FuncRequest const & cmd0) // not expose the button for redraw. We adjust here the metrics dimension // to enable a full redraw in any case as this is not costly. TextMetrics & tm = text_metrics_[&buffer_.text()]; - tm.editXY(cur, cmd.x, cmd.y); - // collect cursor paragraph iter bounds std::pair firstpm = tm.first(); std::pair lastpm = tm.last(); int y1 = firstpm.second->position() - firstpm.second->ascent(); -- 2.39.2