summaryrefslogtreecommitdiff
path: root/svx/source/table/tablertfimporter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-24 13:21:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-25 07:06:20 +0100
commita258a043c90eaaa4f6a411318e239e805d087d0c (patch)
tree250eed3d964d3872e02d0d9622ede8b3343ce7ef /svx/source/table/tablertfimporter.cxx
parentcee62b1068775b7d0bcd2875e9789c8c36c22057 (diff)
loplugin:makeshared in svl..svx
Change-Id: I067ea2f3cb651fdc5c3d1a09b0c55583618b9d1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87355 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/table/tablertfimporter.cxx')
-rw-r--r--svx/source/table/tablertfimporter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx
index d342856bedee..2bbef503ae94 100644
--- a/svx/source/table/tablertfimporter.cxx
+++ b/svx/source/table/tablertfimporter.cxx
@@ -216,7 +216,7 @@ void SdrTableRTFParser::NextRow()
void SdrTableRTFParser::InsertCell( RtfImportInfo const * pInfo )
{
- RTFCellInfoPtr xCellInfo( new RTFCellInfo(mrItemPool) );
+ RTFCellInfoPtr xCellInfo = std::make_shared<RTFCellInfo>(mrItemPool);
xCellInfo->mnStartPara = mnStartPara;
xCellInfo->mnParaCount = pInfo->aSelection.nEndPara - 1 - mnStartPara;