]> git.lyx.org Git - lyx.git/commitdiff
* some more traces of the signals in CursorSlice
authorStefan Schimanski <sts@lyx.org>
Sat, 9 Jun 2007 13:31:15 +0000 (13:31 +0000)
committerStefan Schimanski <sts@lyx.org>
Sat, 9 Jun 2007 13:31:15 +0000 (13:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18727 a592a061-630c-0410-9148-cb99ea01b6c8

src/CursorSlice.cpp
src/CursorSlice.h

index 1b4b8ca862402c9df4f52c4db30cc402ac4e7197..710f65c80419c0e2623700c66b8ce7c0feebb961 100644 (file)
@@ -25,7 +25,6 @@
 #include "mathed/MathData.h"
 
 #include <boost/assert.hpp>
-#include <boost/bind.hpp>
 
 
 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;
index daa2dc5815b4857feeadad8315cdd44c4884a555..bcada34e19228d835d21cbbd09b060c4d9f8d8a2 100644 (file)
@@ -20,9 +20,6 @@
 #include "support/types.h"
 #include "insets/Inset.h"
 
-#include <boost/signal.hpp>
-#include <boost/signals/trackable.hpp>
-
 #include <cstddef>
 #include <iosfwd>
 
@@ -59,12 +56,8 @@ public:
        ///
        CursorSlice();
        ///
-       CursorSlice(CursorSlice const &);
-       ///
        explicit CursorSlice(Inset &);
        ///
-       CursorSlice & operator=(CursorSlice const &);
-       ///
        bool isValid() const;
 
        /// the current inset