diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-14 14:39:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-16 12:16:49 +0100 |
commit | 1bf68dbf53f4b5308e295058226abd6d6fb49c3d (patch) | |
tree | 7d291955efb4f58ee047d49fcb5848a2e2bbb7c1 /sc/source/core/data/column.cxx | |
parent | 3c93d34caa79c37c41eab1d3212a7ff1cdf53d34 (diff) |
pass ScPostIt around by unique_ptr
Change-Id: I99c1f0a5d5c760663f5150b477a936d2f45b874c
Reviewed-on: https://gerrit.libreoffice.org/66322
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/column.cxx')
-rw-r--r-- | sc/source/core/data/column.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 0c151a70ac65..e2ec2efa1849 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -1206,7 +1206,7 @@ void ScColumn::CopyCellToDocument( SCROW nSrcRow, SCROW nDestRow, ScColumn& rDes pNote = pNote->Clone(ScAddress(nCol, nSrcRow, nTab), *rDestCol.GetDoc(), ScAddress(rDestCol.nCol, nDestRow, rDestCol.nTab), - false); + false).release(); rDestCol.maCellNotes.set(nDestRow, pNote); pNote->UpdateCaptionPos(ScAddress(rDestCol.nCol, nDestRow, rDestCol.nTab)); } |