diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-18 15:53:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-19 11:21:10 +0200 |
commit | b462fa972e27d9c1510ee547e95f3e9062e4579d (patch) | |
tree | bdfd0d1fe8eabda3f39031ffb398c5a71defdfba /hwpfilter/source/hbox.h | |
parent | use std::unique_ptr in SvxUnoPropertyMapProvider (diff) | |
download | core-b462fa972e27d9c1510ee547e95f3e9062e4579d.tar.gz core-b462fa972e27d9c1510ee547e95f3e9062e4579d.zip |
use std::unique_ptr in hwpfilter
Change-Id: I3aa6e1342f975420b19e9e21058a0331ed2d71e0
Reviewed-on: https://gerrit.libreoffice.org/43525
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter/source/hbox.h')
-rw-r--r-- | hwpfilter/source/hbox.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index e95698943f8c..d934c9bf6622 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -363,12 +363,12 @@ struct TxtBox: public FBox /** * Paragraph list */ - std::vector<std::vector<HWPPara*>> plists; + std::vector<std::vector<std::unique_ptr<HWPPara>>> plists; /** * Caption */ - std::vector<HWPPara*> caption; + std::vector<std::unique_ptr<HWPPara>> caption; TxtBox(); virtual ~TxtBox() override; @@ -625,7 +625,7 @@ struct Picture: public FBox PicDef picinfo; char reserved3[9]; - std::vector<HWPPara*> caption; + std::vector<std::unique_ptr<HWPPara>> caption; /** * It's for the Drawing object */ @@ -668,7 +668,7 @@ struct Hidden: public HBox hchar dummy; unsigned char info[8]; // h, next, dummy - std::vector<HWPPara*> plist; + std::vector<std::unique_ptr<HWPPara>> plist; Hidden(); virtual ~Hidden() override; @@ -697,7 +697,7 @@ struct HeaderFooter: public HBox /** * Paragraph list of header or footer */ - std::vector<HWPPara*> plist; + std::vector<std::unique_ptr<HWPPara>> plist; HeaderFooter(); virtual ~HeaderFooter() override; @@ -730,7 +730,7 @@ struct Footnote: public HBox /** * Paragraph list of Footnote objects */ - std::vector<HWPPara*> plist; + std::vector<std::unique_ptr<HWPPara>> plist; Footnote(); virtual ~Footnote() override; |