From 72f30959c17d06ed778f107f77c6357f1e4d3258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 19 Aug 2002 16:41:39 +0000 Subject: [PATCH] remove unused code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5026 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView_pimpl.C | 17 ----------------- src/BufferView_pimpl.h | 2 -- 2 files changed, 19 deletions(-) diff --git a/src/BufferView_pimpl.C b/src/BufferView_pimpl.C index 0c2ad46841..02ecb02462 100644 --- a/src/BufferView_pimpl.C +++ b/src/BufferView_pimpl.C @@ -3161,23 +3161,6 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev) } -void BufferView::Pimpl::newline() -{ - if (available()) { - LyXText * lt = bv_->getLyXText(); - hideCursor(); - update(lt, - BufferView::SELECT - | BufferView::FITCUR); - lt->insertChar(bv_, Paragraph::META_NEWLINE); - update(lt, - BufferView::SELECT - | BufferView::FITCUR - | BufferView::CHANGE); - } -} - - void BufferView::Pimpl::hfill() { if (available()) { diff --git a/src/BufferView_pimpl.h b/src/BufferView_pimpl.h index 96d7d7cf4a..5522450a05 100644 --- a/src/BufferView_pimpl.h +++ b/src/BufferView_pimpl.h @@ -145,8 +145,6 @@ private: /// void specialChar(InsetSpecialChar::Kind); /// - void newline(); - /// void hfill(); /// void smartQuote();