summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hpara.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hpara.h')
-rw-r--r--hwpfilter/source/hpara.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hpara.h b/hwpfilter/source/hpara.h
index 1385f12ed698..55af7e98120b 100644
--- a/hwpfilter/source/hpara.h
+++ b/hwpfilter/source/hpara.h
@@ -104,7 +104,7 @@ class DLLEXPORT HWPPara
unsigned long ctrlflag;
unsigned char pstyno;
std::shared_ptr<CharShape> cshape; /* When characters are all the same shape */
- ParaShape pshape; /* if reuse flag is 0, */
+ std::shared_ptr<ParaShape> pshape; /* if reuse flag is 0, */
std::unique_ptr<LineInfo[]> linfo;
std::vector<std::shared_ptr<CharShape>> cshapep;
@@ -128,7 +128,7 @@ class DLLEXPORT HWPPara
/**
* Returns the style of paragraph.
*/
- ParaShape& GetParaShape(void) { return pshape;}
+ ParaShape& GetParaShape(void) { return *pshape; }
/**
* Returns next paragraph.