diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-23 15:17:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 07:18:28 +0100 |
commit | 8d23f9c2c1e0479a95cb44a09066740213b0f99a (patch) | |
tree | 46034a164cbfd4d5a17f8eaec722e89fdfd172ee /basic | |
parent | 8dd247044f976d93e13370738418fcd2ac167e9c (diff) |
loplugin:makeshared in basctl..canvas
Change-Id: I1461da594db222abbaeccfb636194b9790f5dbe8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87271
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 4b84fffe5ba8..ab3d5e54be40 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2362,7 +2362,7 @@ SbUnoObject::SbUnoObject( const OUString& aName_, const Any& aUnoObj_ ) bSetClassName = true; } StructRefInfo aThisStruct( maTmpUnoObj, maTmpUnoObj.getValueType(), 0 ); - maStructInfo.reset( new SbUnoStructRefObject( GetName(), aThisStruct ) ); + maStructInfo = std::make_shared<SbUnoStructRefObject>( GetName(), aThisStruct ); } else if( eType == TypeClass_INTERFACE ) { |