summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/hpara.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hpara.cxx')
-rw-r--r--hwpfilter/source/hpara.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx
index 7739b9cd0a85..79fd93145ad8 100644
--- a/hwpfilter/source/hpara.cxx
+++ b/hwpfilter/source/hpara.cxx
@@ -87,6 +87,9 @@ HWPPara::~HWPPara()
bool HWPPara::Read(HWPFile & hwpf, unsigned char flag)
{
+ DepthGuard aGuard(hwpf);
+ if (aGuard.toodeep())
+ return false;
int ii;
scflag = flag;
// Paragraph Information