diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-26 15:03:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-27 13:51:58 +0200 |
commit | e5c8f2ba40223b67c7205b6f06da3aa344ed0e97 (patch) | |
tree | 26624af238b85d4b43ebcbda34a63d8edf77586f /sc/inc | |
parent | b9652803096b68a33702601aac52e78c8a4250c6 (diff) |
loplugin:useuniqueptr in ScUnoAddInCollection
Change-Id: Ic38eab88f68952549af3417c3e85020877c95446
Reviewed-on: https://gerrit.libreoffice.org/56498
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/addincol.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx index e22a6c056f9d..46de0b84c7ef 100644 --- a/sc/inc/addincol.hxx +++ b/sc/inc/addincol.hxx @@ -135,10 +135,10 @@ class SC_DLLPUBLIC ScUnoAddInCollection { private: long nFuncCount; - ScUnoAddInFuncData** ppFuncData; - ScAddInHashMap* pExactHashMap; ///< exact internal name - ScAddInHashMap* pNameHashMap; ///< internal name upper - ScAddInHashMap* pLocalHashMap; ///< localized name upper + std::unique_ptr<std::unique_ptr<ScUnoAddInFuncData>[]> ppFuncData; + std::unique_ptr<ScAddInHashMap> pExactHashMap; ///< exact internal name + std::unique_ptr<ScAddInHashMap> pNameHashMap; ///< internal name upper + std::unique_ptr<ScAddInHashMap> pLocalHashMap; ///< localized name upper bool bInitialized; void Initialize(); |