X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.C;h=1e8a987d60337628d1e5f5823fc678dc5bdf32ff;hb=27652900a60fd078f161ce866ddaed21dba21eff;hp=4caf746d9521d7ed8ba3cd41aae0ae0818339e50;hpb=31b56dac8042735f75229ad480b3e98531c181ff;p=lyx.git diff --git a/src/BufferView.C b/src/BufferView.C index 4caf746d95..1e8a987d60 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -17,7 +17,6 @@ #include "BufferView.h" #include "BufferView_pimpl.h" #include "lyxtext.h" -#include "WorkArea.h" #include "lyxscreen.h" @@ -90,9 +89,9 @@ void BufferView::redraw() } -void BufferView::fitCursor(LyXText * text) +void BufferView::fitCursor() { - pimpl_->fitCursor(text); + pimpl_->fitCursor(); } @@ -114,10 +113,9 @@ void BufferView::scrollCB(double value) } -Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y, - unsigned int button) +Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y) { - return pimpl_->checkInsetHit(text, x, y, button); + return pimpl_->checkInsetHit(text, x, y); }