Kaydet (Commit) 43d6da69 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242523 we just need a copy here

Change-Id: I238756de13a5bd2711538cbd92e78bbae8fced22
üst 0f83c393
...@@ -706,8 +706,7 @@ void SwXMLTableCellContext_Impl::EndElement() ...@@ -706,8 +706,7 @@ void SwXMLTableCellContext_Impl::EndElement()
OTextCursorHelper *pDstTxtCrsr = reinterpret_cast< OTextCursorHelper * >( OTextCursorHelper *pDstTxtCrsr = reinterpret_cast< OTextCursorHelper * >(
sal::static_int_cast< sal_IntPtr >( xDstCrsrTunnel->getSomething( OTextCursorHelper::getUnoTunnelId() )) ); sal::static_int_cast< sal_IntPtr >( xDstCrsrTunnel->getSomething( OTextCursorHelper::getUnoTunnelId() )) );
assert(pDstTxtCrsr && "SwXTextCursor missing"); assert(pDstTxtCrsr && "SwXTextCursor missing");
SwPaM aSrcPaM( *pSrcPaM->GetPoint(), SwPaM aSrcPaM(*pSrcPaM->GetMark(), *pSrcPaM->GetPoint());
*pSrcPaM->GetMark() );
SwPosition aDstPos( *pDstTxtCrsr->GetPaM()->GetPoint() ); SwPosition aDstPos( *pDstTxtCrsr->GetPaM()->GetPoint() );
pDoc->getIDocumentContentOperations().CopyRange( aSrcPaM, aDstPos, false ); pDoc->getIDocumentContentOperations().CopyRange( aSrcPaM, aDstPos, false );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment