diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-21 10:15:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-21 10:54:36 +0100 |
commit | 00aeabb61d1d535684b05145bcc98a8d8a3e10ab (patch) | |
tree | 45734e74aeb4a09be940ed074001bd7e5ae758af /hwpfilter/source/hwpfile.h | |
parent | loplugin:mergeclasses RscConst with RscEnum (diff) | |
download | core-00aeabb61d1d535684b05145bcc98a8d8a3e10ab.tar.gz core-00aeabb61d1d535684b05145bcc98a8d8a3e10ab.zip |
treat ParaShape like CharShape
Change-Id: I7870fdeee6bd097c94d7ae58b67506c4ab2a6fb5
Diffstat (limited to 'hwpfilter/source/hwpfile.h')
-rw-r--r-- | hwpfilter/source/hwpfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h index 7f3d29f80225..d58faa569a7b 100644 --- a/hwpfilter/source/hwpfile.h +++ b/hwpfilter/source/hwpfile.h @@ -212,7 +212,7 @@ class DLLEXPORT HWPFile void AddPage(){ m_nCurrentPage++;} void AddColumnInfo(); void SetColumnDef(ColumnDef *coldef); - void AddParaShape(ParaShape *); + void AddParaShape(std::shared_ptr<ParaShape>&); void AddCharShape(std::shared_ptr<CharShape>&); void AddFBoxStyle(FBoxStyle *); void AddDateFormat(DateCode *); @@ -283,7 +283,7 @@ class DLLEXPORT HWPFile std::list<EmPicture*> emblist; std::list<HyperText*> hyperlist; int currenthyper; - std::vector<ParaShape*> pslist; /* 스타오피스의 구조상 필요 */ + std::vector<std::shared_ptr<ParaShape>> pslist; /* 스타오피스의 구조상 필요 */ std::vector<std::shared_ptr<CharShape>> cslist; std::vector<FBoxStyle*> fbslist; std::vector<DateCode*> datecodes; |