summaryrefslogtreecommitdiff
path: root/svl/source/items
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items')
-rw-r--r--svl/source/items/itempool.cxx2
-rw-r--r--svl/source/items/poolio.cxx4
-rw-r--r--svl/source/items/style.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index d0d1ceea753c..be8a3e92762e 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -247,7 +247,7 @@ SfxItemPool::SfxItemPool
// Copy Version map
for (std::shared_ptr<SfxPoolVersion_Impl>& pOld : rPool.pImp->aVersions)
{
- SfxPoolVersion_ImplPtr pNew = SfxPoolVersion_ImplPtr( new SfxPoolVersion_Impl( *pOld ) );
+ SfxPoolVersion_ImplPtr pNew = std::make_shared<SfxPoolVersion_Impl>( *pOld );
pImp->aVersions.push_back( pNew );
}
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index d3837e957070..d380e9b8a112 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -988,8 +988,8 @@ void SfxItemPool::SetVersionMap
)
{
// Create new map entry to insert
- const SfxPoolVersion_ImplPtr pVerMap = SfxPoolVersion_ImplPtr( new SfxPoolVersion_Impl(
- nVer, nOldStart, nOldEnd, pOldWhichIdTab ) );
+ const SfxPoolVersion_ImplPtr pVerMap = std::make_shared<SfxPoolVersion_Impl>(
+ nVer, nOldStart, nOldEnd, pOldWhichIdTab );
pImp->aVersions.push_back( pVerMap );
DBG_ASSERT( nVer > pImp->nVersion, "Versions not sorted" );
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index f14dd8a1137e..d0c2428930e0 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -636,7 +636,7 @@ SfxStyleSheetIteratorPtr SfxStyleSheetBasePool::CreateIterator
sal_uInt16 mask
)
{
- return SfxStyleSheetIteratorPtr(new SfxStyleSheetIterator(this,eFam,mask));
+ return std::make_shared<SfxStyleSheetIterator>(this,eFam,mask);
}
SfxStyleSheetBase* SfxStyleSheetBasePool::Create