]> git.lyx.org Git - features.git/commitdiff
remove unneeded BufferView::UpdateCodes
authorAndré Pönitz <poenitz@gmx.net>
Mon, 4 Aug 2003 14:36:51 +0000 (14:36 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 4 Aug 2003 14:36:51 +0000 (14:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7495 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.C
src/BufferView.h
src/ChangeLog

index 476c6a207389b16d71562d4ed2f810f6a8266c68..0f9c1e77a1c347c2f8c26c09a1c1ff985d005706 100644 (file)
@@ -238,14 +238,6 @@ void BufferView::stuffClipboard(string const & stuff) const
 }
 
 
-BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1,
-                                 BufferView::UpdateCodes uc2)
-{
-       return static_cast<BufferView::UpdateCodes>
-               (static_cast<int>(uc1) | static_cast<int>(uc2));
-}
-
-
 bool BufferView::dispatch(FuncRequest const & ev)
 {
        return pimpl_->dispatch(ev);
index f517a0893f4892c6f89e28acf766e0e66ebc7a05..bbdffbfe048c1f7752ba441a469c60c4bd5a036b 100644 (file)
@@ -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
index 1697b085f569ced18a28351eb705bbecec148335..d53d6343dc61d9bb9ab920c88449c3491a72c4bf 100644 (file)
@@ -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  <kayvan@sylvan.com>
 
        * Makefile.am (lyx_SOURCES): add paper.h