diff options
author | Aron Budea <aron.budea@collabora.com> | 2018-03-25 08:33:16 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-04-12 10:51:33 +0200 |
commit | 128e78fc1f3a7dd02461fd3fbca8dcc84bc93f22 (patch) | |
tree | a23f1c196d0b475e7e6e0e9a94c5d183788f96db /sw/source/core | |
parent | c02db5b88de76c49988d1cd0fd7738f8d3e7e37a (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/51905
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 8e2850752bfa86f9b7c6f10a74d5ed69bc20ebee)
Diffstat (limited to 'sw/source/core')
-rw-r--r-- | sw/source/core/doc/DocumentContentOperationsManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx index e0c763f0f37c..fb33017df5f7 100644 --- a/sw/source/core/doc/DocumentContentOperationsManager.cxx +++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx @@ -354,7 +354,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 ); |