summaryrefslogtreecommitdiff
path: root/include/sfx2/dinfdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-19 12:20:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-25 11:03:56 +0200
commit80f28ef95e7c74c8df799a47fa90ff90bfd13f61 (patch)
tree6fff80c722b2de1507b32cb4af453989fc732977 /include/sfx2/dinfdlg.hxx
parent72c191e046112df73c66be8dc8d1bec5a546fa60 (diff)
loplugin:useuniqueptr in CmisPropertyLine
Change-Id: If54a2c546cb3c65417c1ebcc4957cce41597dd07 Reviewed-on: https://gerrit.libreoffice.org/60955 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/dinfdlg.hxx')
-rw-r--r--include/sfx2/dinfdlg.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 66c5726e8eca..d7894172753a 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -554,9 +554,9 @@ struct CmisPropertyLine : public VclBuilderContainer
bool m_bOpenChoice;
VclPtr<FixedText> m_aName;
VclPtr<FixedText> m_aType;
- std::vector< CmisValue* > m_aValues;
- std::vector< CmisDateTime* > m_aDateTimes;
- std::vector< CmisYesNo* > m_aYesNos;
+ std::vector< std::unique_ptr<CmisValue> > m_aValues;
+ std::vector< std::unique_ptr<CmisDateTime> > m_aDateTimes;
+ std::vector< std::unique_ptr<CmisYesNo> > m_aYesNos;
long getItemHeight() const;
CmisPropertyLine( vcl::Window* pParent );
virtual ~CmisPropertyLine() override;