Kaydet (Commit) 59e68b30 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:useuniqueptr in PPTStyleTextPropReader

Change-Id: I5110ef58302323a59b52cc5451ddba4caa00b6d9
Reviewed-on: https://gerrit.libreoffice.org/51553Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 79b2f1cb
...@@ -1052,14 +1052,11 @@ struct StyleTextProp9 ...@@ -1052,14 +1052,11 @@ struct StyleTextProp9
void Read( SvStream& rSt ); void Read( SvStream& rSt );
}; };
typedef std::vector<PPTParaPropSet*> PPTParaPropSetList;
typedef std::vector<PPTCharPropSet*> PPTCharPropSetList;
struct PPTStyleTextPropReader struct PPTStyleTextPropReader
{ {
std::vector< sal_uInt32 > aSpecMarkerList; // hiword -> Flags, loword -> Position std::vector< sal_uInt32 > aSpecMarkerList; // hiword -> Flags, loword -> Position
PPTParaPropSetList aParaPropList; std::vector<std::unique_ptr<PPTParaPropSet>> aParaPropList;
PPTCharPropSetList aCharPropList; std::vector<std::unique_ptr<PPTCharPropSet>> aCharPropList;
PPTStyleTextPropReader( PPTStyleTextPropReader(
SvStream& rIn, SvStream& rIn,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment