diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-08 21:04:45 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-04-12 15:54:22 +0200 |
commit | 4e175b7aee7c00c6d0d8449a19b26ebf25446b9d (patch) | |
tree | bea6bccdc858cd77aa6d9b5ee2d29d1cfcc45cb5 /hwpfilter/source/hpara.h | |
parent | 3e4e13300db6a0c2c60dbe733d96ff5a7b0d32e5 (diff) |
ofz#1062 ensure cshape lifecycle matches expectations
Change-Id: I586e9b3546516a0f05d86b2f7dd93e7c292a6795
Reviewed-on: https://gerrit.libreoffice.org/36300
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'hwpfilter/source/hpara.h')
-rw-r--r-- | hwpfilter/source/hpara.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hpara.h b/hwpfilter/source/hpara.h index 6496eae80f70..b598c201b569 100644 --- a/hwpfilter/source/hpara.h +++ b/hwpfilter/source/hpara.h @@ -103,11 +103,11 @@ class DLLEXPORT HWPPara */ unsigned long ctrlflag; unsigned char pstyno; - CharShape cshape; /* When characters are all the same shape */ + std::shared_ptr<CharShape> cshape; /* When characters are all the same shape */ ParaShape pshape; /* if reuse flag is 0, */ LineInfo *linfo; - CharShape *cshapep; + std::vector<std::shared_ptr<CharShape>> cshapep; /** * Box object list */ |