summaryrefslogtreecommitdiff
path: root/sw/inc/swcrsr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/swcrsr.hxx')
-rw-r--r--sw/inc/swcrsr.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index 1e84b16537ef..5e3ea0a228b0 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -69,6 +69,8 @@ class SW_DLLPUBLIC SwCursor : public SwPaM
using SwPaM::Find;
+ SwCursor(SwCursor const& rPaM) SAL_DELETED_FUNCTION;
+
protected:
_SwCursor_SavePos* CreateNewSavePos() const;
void SaveState();
@@ -86,8 +88,9 @@ public:
SwCursor( const SwPosition &rPos, SwPaM* pRing, bool bColumnSel );
virtual ~SwCursor();
- // @@@ semantic: no copy ctor.
- SwCursor( SwCursor& rCpy);
+ /// this takes a second parameter, which indicates the Ring that
+ /// the new cursor should be part of (may be null)
+ SwCursor(SwCursor const& rCursor, SwPaM* pRing);
public: