diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-07 14:33:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-08 19:28:08 +0200 |
commit | 9212fadc4d421148e1a3f8b668d82a93f65cc2c3 (patch) | |
tree | a1954e2ebd6b5b1dc8104e442793fcdd831b8c8a /dbaccess/source/ui/dlg/tablespage.cxx | |
parent | d34098cdb98966e537d9c500e34c8719c21094a8 (diff) |
loplugin:useuniqueptr in OGenericAdministrationPage
Change-Id: I3028aa7d40b5fea763a93b54bf5f4c5bc4294822
Reviewed-on: https://gerrit.libreoffice.org/60193
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/dlg/tablespage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index ac348069c0e5..ae2586762f24 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -558,13 +558,13 @@ namespace dbaui return true; } - void OTableSubscriptionPage::fillControls(std::vector< ISaveValueWrapper* >& /*_rControlList*/) + void OTableSubscriptionPage::fillControls(std::vector< std::unique_ptr<ISaveValueWrapper> >& /*_rControlList*/) { } - void OTableSubscriptionPage::fillWindows(std::vector< ISaveValueWrapper* >& _rControlList) + void OTableSubscriptionPage::fillWindows(std::vector< std::unique_ptr<ISaveValueWrapper> >& _rControlList) { - _rControlList.push_back(new ODisableWrapper<VclContainer>(m_pTables)); + _rControlList.emplace_back(new ODisableWrapper<VclContainer>(m_pTables)); } } // namespace dbaui |