summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hwpfilter/source/hwpreader.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index f5592124b37d..ab495315722c 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -2816,10 +2816,8 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
}
int n = 0;
- while (n < para->nch)
+ for (const auto& box : para->hhstr)
{
- const auto& box = para->hhstr[n];
-
if (!box->hh)
break;