]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / BufferView.C
index 4caf746d9521d7ed8ba3cd41aae0ae0818339e50..6ed3ed8fa41ca59bceaf43c273b76b109a63da6c 100644 (file)
@@ -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();
 }