diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 09:21:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 06:34:31 +0000 |
commit | d9884a62a23b2a410e5b364308e06c37a67f9422 (patch) | |
tree | 6a33a1289733518d880436273a4bbf2baa38ab4a /include/connectivity/sdbcx | |
parent | 33f43bd7742a0a8803eb19dd4de7de2c7a0c8c78 (diff) |
new loplugin: useuniqueptr: connectivity
Change-Id: I016f6a62814f1e93373dc70f59893fa38361464b
Reviewed-on: https://gerrit.libreoffice.org/33149
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/connectivity/sdbcx')
-rw-r--r-- | include/connectivity/sdbcx/VGroup.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VIndex.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VKey.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VUser.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/connectivity/sdbcx/VGroup.hxx b/include/connectivity/sdbcx/VGroup.hxx index 3ab99f5a4721..06634a01b536 100644 --- a/include/connectivity/sdbcx/VGroup.hxx +++ b/include/connectivity/sdbcx/VGroup.hxx @@ -55,7 +55,7 @@ namespace connectivity public ODescriptor { protected: - OUsers* m_pUsers; + std::unique_ptr<OUsers> m_pUsers; using OGroup_BASE::rBHelper; diff --git a/include/connectivity/sdbcx/VIndex.hxx b/include/connectivity/sdbcx/VIndex.hxx index 65738a7fbaac..a7b75f7b9499 100644 --- a/include/connectivity/sdbcx/VIndex.hxx +++ b/include/connectivity/sdbcx/VIndex.hxx @@ -56,7 +56,7 @@ namespace connectivity bool m_IsPrimaryKeyIndex; bool m_IsClustered; - OCollection* m_pColumns; + std::unique_ptr<OCollection> m_pColumns; using ODescriptor_BASE::rBHelper; virtual void refreshColumns() override; diff --git a/include/connectivity/sdbcx/VKey.hxx b/include/connectivity/sdbcx/VKey.hxx index 2290ed7669e2..cabf0b5036ac 100644 --- a/include/connectivity/sdbcx/VKey.hxx +++ b/include/connectivity/sdbcx/VKey.hxx @@ -69,7 +69,7 @@ namespace connectivity { protected: std::shared_ptr<KeyProperties> m_aProps; - OCollection* m_pColumns; + std::unique_ptr<OCollection> m_pColumns; using ODescriptor_BASE::rBHelper; // OPropertyArrayUsageHelper diff --git a/include/connectivity/sdbcx/VUser.hxx b/include/connectivity/sdbcx/VUser.hxx index 0bef5e90cb97..fd4cb5c03ac8 100644 --- a/include/connectivity/sdbcx/VUser.hxx +++ b/include/connectivity/sdbcx/VUser.hxx @@ -52,7 +52,7 @@ namespace connectivity public ODescriptor { protected: - OGroups* m_pGroups; + std::unique_ptr<OGroups> m_pGroups; using OUser_BASE::rBHelper; |