summaryrefslogtreecommitdiff
path: root/sw/inc/redline.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r--sw/inc/redline.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index dfbfa177a855..181001fed6b1 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -178,7 +178,10 @@ public:
bool bDelLP) :
SwPaM( rPos ), m_pRedlineData( pData ), m_pContentSect( nullptr ),
m_nId( s_nLastId++ ), m_bDelLastPara( bDelLP ), m_bIsVisible( true )
- {}
+ {
+ GetBound().nContent.SetRedline(this);
+ GetBound(false).nContent.SetRedline(this);
+ }
SwRangeRedline( const SwRangeRedline& );
virtual ~SwRangeRedline() override;