summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-19 14:32:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-20 07:49:40 +0100
commit59e68b30d6695efa65244cf7132417036b0fba63 (patch)
treee691b709158e74ea898c96c4dfa321808dc131a8 /include/filter
parent79b2f1cb36ea4fec61b0620085313eb53fce9fa0 (diff)
loplugin:useuniqueptr in PPTStyleTextPropReader
Change-Id: I5110ef58302323a59b52cc5451ddba4caa00b6d9 Reviewed-on: https://gerrit.libreoffice.org/51553 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/svdfppt.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index f125dc1b9604..d06c1a4c4e42 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -1052,14 +1052,11 @@ struct StyleTextProp9
void Read( SvStream& rSt );
};
-typedef std::vector<PPTParaPropSet*> PPTParaPropSetList;
-typedef std::vector<PPTCharPropSet*> PPTCharPropSetList;
-
struct PPTStyleTextPropReader
{
std::vector< sal_uInt32 > aSpecMarkerList; // hiword -> Flags, loword -> Position
- PPTParaPropSetList aParaPropList;
- PPTCharPropSetList aCharPropList;
+ std::vector<std::unique_ptr<PPTParaPropSet>> aParaPropList;
+ std::vector<std::unique_ptr<PPTCharPropSet>> aCharPropList;
PPTStyleTextPropReader(
SvStream& rIn,