diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-24 16:50:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 13:14:20 +0200 |
commit | 4467dc6685dbe2862da5eb54edb89c1711253812 (patch) | |
tree | fb57b72dc85ff9478622c65fa293b1af96d48adf /sc/inc/dptabres.hxx | |
parent | 4d41b2e42fb91b99bd17b13f0f592978f4ccfba7 (diff) |
loplugin:useuniqueptr in sc
Change-Id: Ia647ef2dda2dd54a4958a7dc561a0fb86abdfd86
Reviewed-on: https://gerrit.libreoffice.org/41522
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/dptabres.hxx')
-rw-r--r-- | sc/inc/dptabres.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx index 40a0d9aa0a18..c0a29c8ae52f 100644 --- a/sc/inc/dptabres.hxx +++ b/sc/inc/dptabres.hxx @@ -500,13 +500,13 @@ typedef std::vector<ScDPDataMember*> ScDPDataMembers; class ScDPResultDimension { public: - typedef std::vector<ScDPResultMember*> MemberArray; + typedef std::vector<std::unique_ptr<ScDPResultMember>> MemberArray; typedef std::map<SCROW, ScDPResultMember*> MemberHash; private: const ScDPResultData* pResultData; MemberArray maMemberArray; MemberHash maMemberHash; - OUString aDimensionName; //! or ptr to IntDimension? + OUString aDimensionName; //! or ptr to IntDimension? long nSortMeasure; ScMemberSortOrder aMemberOrder; // used when sorted by measure bool bIsDataLayout:1; //! or ptr to IntDimension? |