diff options
Diffstat (limited to 'dbaccess/source/core/api/tablecontainer.cxx')
-rw-r--r-- | dbaccess/source/core/api/tablecontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/tablecontainer.cxx b/dbaccess/source/core/api/tablecontainer.cxx index 3637e6b3bed1..fb14a5f4170c 100644 --- a/dbaccess/source/core/api/tablecontainer.cxx +++ b/dbaccess/source/core/api/tablecontainer.cxx @@ -267,7 +267,7 @@ ObjectType OTableContainer::appendObject( const OUString& _rForName, const Refer } Reference< XConnection > xConnection( m_xConnection.get(), UNO_QUERY ); - PContainerApprove pApprove( new ObjectNameApproval( xConnection, ObjectNameApproval::TypeTable ) ); + PContainerApprove pApprove = std::make_shared<ObjectNameApproval>( xConnection, ObjectNameApproval::TypeTable ); pApprove->approveElement( aName ); { |