]> git.lyx.org Git - lyx.git/commitdiff
delete unsetXSel() method
authorAbdelrazak Younes <younes@lyx.org>
Sun, 17 Sep 2006 08:48:06 +0000 (08:48 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 17 Sep 2006 08:48:06 +0000 (08:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15025 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.C
src/BufferView.h
src/cursor.C

index 73977928b419e2d85ab4de099b6a14c0e333d613..86d8c8e761bf3df6fa100afb5abf53fc9d26ea04 100644 (file)
@@ -157,12 +157,6 @@ BufferView::~BufferView()
 }
 
 
-void BufferView::unsetXSel()
-{
-       xsel_cache_.set = false;
-}
-
-
 Buffer * BufferView::buffer() const
 {
        return buffer_;
index c03a8873873dc2b897c7b176f79d7a8c044c0bd3..248366789373f81b8aaca51cd973dbc6ea9b6388 100644 (file)
@@ -184,9 +184,6 @@ public:
        /// a function should be executed from the workarea
        bool workAreaDispatch(FuncRequest const & ev);
 
-       /// clear the X selection
-       void unsetXSel();
-
        /// access to offset
        int offset_ref() const;
        /// access to anchor
index 3a9ed20790098d7d92921c4e96c43909c24cf2c5..ffcb30e489d6379fb1e0c1febd753f60a70ce627 100644 (file)
@@ -493,7 +493,6 @@ void LCursor::clearSelection()
        selection() = false;
        mark() = false;
        resetAnchor();
-       bv().unsetXSel();
 }