summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapperTableManager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-24 13:22:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-24 19:31:14 +0100
commit3bbc0cf67cd5aa0ec5a1997794d21a87830bc618 (patch)
treebd912f9c91d8f96969377168fab9e5c5cc59a895 /writerfilter/source/dmapper/DomainMapperTableManager.cxx
parent7589e8413411aa4e0bf437ec0a7080c577a9c1d9 (diff)
loplugin:makeshared in svgio..writerperfect
Change-Id: I0f8de0f78c7a8fb78d47ee5dfed09019b4eb5288 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87357 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapperTableManager.cxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapperTableManager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
index 79a9a25f0ea0..c4245715ff8e 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
@@ -443,9 +443,9 @@ void DomainMapperTableManager::startLevel( )
m_aCellWidths.back()->pop_back();
}
- IntVectorPtr pNewGrid( new vector<sal_Int32> );
- IntVectorPtr pNewSpans( new vector<sal_Int32> );
- IntVectorPtr pNewCellWidths( new vector<sal_Int32> );
+ IntVectorPtr pNewGrid = std::make_shared<vector<sal_Int32>>();
+ IntVectorPtr pNewSpans = std::make_shared<vector<sal_Int32>>();
+ IntVectorPtr pNewCellWidths = std::make_shared<vector<sal_Int32>>();
TablePositionHandlerPtr pNewPositionHandler;
m_aTableGrid.push_back( pNewGrid );
m_aGridSpans.push_back( pNewSpans );