From: Stefan Schimanski Date: Sat, 9 Jun 2007 13:31:15 +0000 (+0000) Subject: * some more traces of the signals in CursorSlice X-Git-Tag: 1.6.10~9431 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e91fc147670539135157de340ce435b15c7b63c8;p=lyx.git * some more traces of the signals in CursorSlice git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18727 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/CursorSlice.cpp b/src/CursorSlice.cpp index 1b4b8ca862..710f65c804 100644 --- a/src/CursorSlice.cpp +++ b/src/CursorSlice.cpp @@ -25,7 +25,6 @@ #include "mathed/MathData.h" #include -#include namespace lyx { @@ -45,22 +44,6 @@ CursorSlice::CursorSlice(Inset & p) } -CursorSlice::CursorSlice(CursorSlice const & cs) -{ - operator=(cs); -} - - -CursorSlice & CursorSlice::operator=(CursorSlice const & cs) -{ - inset_ = cs.inset_; - idx_ = cs.idx_; - pit_ = cs.pit_; - pos_ = cs.pos_; - return *this; -} - - void CursorSlice::invalidate() { inset_ = 0; diff --git a/src/CursorSlice.h b/src/CursorSlice.h index daa2dc5815..bcada34e19 100644 --- a/src/CursorSlice.h +++ b/src/CursorSlice.h @@ -20,9 +20,6 @@ #include "support/types.h" #include "insets/Inset.h" -#include -#include - #include #include @@ -59,12 +56,8 @@ public: /// CursorSlice(); /// - CursorSlice(CursorSlice const &); - /// explicit CursorSlice(Inset &); /// - CursorSlice & operator=(CursorSlice const &); - /// bool isValid() const; /// the current inset