From 80f28ef95e7c74c8df799a47fa90ff90bfd13f61 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Sep 2018 12:20:42 +0200 Subject: loplugin:useuniqueptr in CmisPropertyLine Change-Id: If54a2c546cb3c65417c1ebcc4957cce41597dd07 Reviewed-on: https://gerrit.libreoffice.org/60955 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sfx2/dinfdlg.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/sfx2/dinfdlg.hxx') 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 m_aName; VclPtr m_aType; - std::vector< CmisValue* > m_aValues; - std::vector< CmisDateTime* > m_aDateTimes; - std::vector< CmisYesNo* > m_aYesNos; + std::vector< std::unique_ptr > m_aValues; + std::vector< std::unique_ptr > m_aDateTimes; + std::vector< std::unique_ptr > m_aYesNos; long getItemHeight() const; CmisPropertyLine( vcl::Window* pParent ); virtual ~CmisPropertyLine() override; -- cgit