summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/swcrsr.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index b195a12f579f..c1e4c4c145bc 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -95,6 +95,8 @@ public:
SwCursor( const SwPosition &rPos, SwPaM* pRing );
virtual ~SwCursor() override;
+ SwCursor & operator =(SwCursor const &) = default;
+
/// 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);