From: André Pönitz Date: Mon, 4 Aug 2003 14:36:51 +0000 (+0000) Subject: remove unneeded BufferView::UpdateCodes X-Git-Tag: 1.6.10~16339 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ecee0239e7897b77fec9186851715f6db29da373;p=features.git remove unneeded BufferView::UpdateCodes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7495 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView.C b/src/BufferView.C index 476c6a2073..0f9c1e77a1 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -238,14 +238,6 @@ void BufferView::stuffClipboard(string const & stuff) const } -BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1, - BufferView::UpdateCodes uc2) -{ - return static_cast - (static_cast(uc1) | static_cast(uc2)); -} - - bool BufferView::dispatch(FuncRequest const & ev) { return pimpl_->dispatch(ev); diff --git a/src/BufferView.h b/src/BufferView.h index f517a0893f..bbdffbfe04 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -39,15 +39,6 @@ class ErrorList; */ class BufferView : boost::noncopyable { public: - /** - * Codes to store necessary pending updates - * of the document rendering. - */ - enum UpdateCodes { - UPDATE = 0, //< repaint - SELECT = 1 //< reset selection to current cursor pos - }; - /** * Create a view with the given owner main window, * of the given dimensions. @@ -220,8 +211,4 @@ private: Pimpl * pimpl_; }; - -BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1, - BufferView::UpdateCodes uc2); - #endif // BUFFERVIEW_H diff --git a/src/ChangeLog b/src/ChangeLog index 1697b085f5..d53d6343dc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -13,6 +13,8 @@ * text3.C: replace "complicated" BufferView::update(...) calls with simpler ones. + * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes + 2003-08-02 Kayvan Sylvan * Makefile.am (lyx_SOURCES): add paper.h