summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2018-03-25 08:33:16 +0200
committerCaolán McNamara <caolanm@redhat.com>2018-03-29 15:10:10 +0200
commitcba73f04699592c7038156f91ed92be026ed2536 (patch)
treec850f9378908a17b299ea772a60b12562bc168e3 /sw/source/core
parentd4ac7113630180bf85a0db842f4ced9c55799560 (diff)
tdf#106746: pDelPam is a bit special
Regression from db17d3c17c40d6b0e92392cf3c6e343d1d17b771 Change-Id: I17e2fef2eb16a900cc487b75c3b9dbba2764ac71 Reviewed-on: https://gerrit.libreoffice.org/51814 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Aron Budea <aron.budea@collabora.com> (cherry picked from commit 7b1d50e97eaa00855152e74f42b789fc643e0bac) Reviewed-on: https://gerrit.libreoffice.org/52017 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index bb68c450575a..e20e5c5104f3 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -352,7 +352,7 @@ namespace
default:
{
- pDelPam.reset(new SwPaM( *pCpyStt, pDelPam.get() ));
+ pDelPam.reset(new SwPaM( *pCpyStt, pDelPam.release() ));
if( *pStt < *pRStt )
{
lcl_NonCopyCount( rPam, aCorrIdx, pRStt->nNode.GetIndex(), nDelCount );