coverity#1242523 we just need a copy here
Change-Id: I238756de13a5bd2711538cbd92e78bbae8fced22
This commit is contained in:
@@ -706,8 +706,7 @@ void SwXMLTableCellContext_Impl::EndElement()
|
||||
OTextCursorHelper *pDstTxtCrsr = reinterpret_cast< OTextCursorHelper * >(
|
||||
sal::static_int_cast< sal_IntPtr >( xDstCrsrTunnel->getSomething( OTextCursorHelper::getUnoTunnelId() )) );
|
||||
assert(pDstTxtCrsr && "SwXTextCursor missing");
|
||||
SwPaM aSrcPaM( *pSrcPaM->GetPoint(),
|
||||
*pSrcPaM->GetMark() );
|
||||
SwPaM aSrcPaM(*pSrcPaM->GetMark(), *pSrcPaM->GetPoint());
|
||||
SwPosition aDstPos( *pDstTxtCrsr->GetPaM()->GetPoint() );
|
||||
pDoc->getIDocumentContentOperations().CopyRange( aSrcPaM, aDstPos, false );
|
||||
|
||||
|
Reference in New Issue
Block a user