From 851703f2c525ee4192d9837998ce3e9f66f92012 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 20 Oct 2016 20:34:27 +0100 Subject: coverity#1371270 Missing move assignment operator Change-Id: I47438184a9a895b7aa9889ae1308fda29434a774 --- sw/source/core/text/frmcrsr.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx index 130c710b3dec..959dd44cfcd1 100644 --- a/sw/source/core/text/frmcrsr.cxx +++ b/sw/source/core/text/frmcrsr.cxx @@ -1198,8 +1198,7 @@ bool SwTextFrame::UnitDown_(SwPaM *pPam, const SwTwips nOffset, // We make sure that we move down. if( nTmpOfst <= nStart && ! bFirstOfDouble ) nTmpOfst = nStart + 1; - pPam->GetPoint()->nContent = - SwIndex( const_cast(this)->GetTextNode(), nTmpOfst ); + pPam->GetPoint()->nContent.Assign(const_cast(this)->GetTextNode(), nTmpOfst); if ( IsVertical() ) const_cast(this)->SwapWidthAndHeight(); -- cgit