summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/querydesign/JoinTableView.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-23 11:36:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-23 12:42:19 +0200
commit7bed47db29783677aa69aa2a54ab1f6ca8e810f6 (patch)
tree698729ab62d8fb827541d2309d17bb2b4e7a3d6b /dbaccess/source/ui/querydesign/JoinTableView.cxx
parenttdf#131936 Correctly detect OOXML variant on import (diff)
downloadcore-7bed47db29783677aa69aa2a54ab1f6ca8e810f6.tar.gz
core-7bed47db29783677aa69aa2a54ab1f6ca8e810f6.zip
loplugin:makeshared in dbaccess
Change-Id: If4208532d2905410a07b846afee46fba2fe1e549 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92748 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/querydesign/JoinTableView.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 193a1ba51ac5..02562bf49a5d 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -306,11 +306,11 @@ TTableWindowData::value_type OJoinTableView::createTableWindowData(const OUStrin
return pData;
}
-OTableWindowData* OJoinTableView::CreateImpl(const OUString& _rComposedName
+std::shared_ptr<OTableWindowData> OJoinTableView::CreateImpl(const OUString& _rComposedName
,const OUString& _sTableName
,const OUString& _rWinName)
{
- return new OTableWindowData( nullptr,_rComposedName,_sTableName, _rWinName );
+ return std::make_shared<OTableWindowData>( nullptr,_rComposedName,_sTableName, _rWinName );
}
void OJoinTableView::AddTabWin(const OUString& _rComposedName, const OUString& rWinName, bool /*bNewTable*/)