diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-04-12 14:15:21 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-04-12 15:51:39 +0200 |
commit | fa73f774019e1c5a8e062d6fc1cf35a43e1a847c (patch) | |
tree | 161a902515687b5907b5fdc5908081850c9be1f1 /hwpfilter | |
parent | b6a4b9264c098218a3f59a0e37504b33a7281e60 (diff) |
hwpfilter: remove write-only variable
Change-Id: I03e29b1a3761fcafc70168b04d788dbf3e1584eb
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index b4bf35ec96e4..9d5a331be14b 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -3676,7 +3676,6 @@ void HwpReader::makeFormula(TxtBox * hbox) { char mybuf[3000]; HWPPara* pPar; - CharShape *cshape = nullptr; int n, c, res; hchar dest[3]; @@ -3688,8 +3687,6 @@ void HwpReader::makeFormula(TxtBox * hbox) for( n = 0; n < pPar->nch && pPar->hhstr[n]->hh; n += pPar->hhstr[n]->WSize() ) { - if (!cshape) - cshape = pPar->GetCharShape(n); if (l >= sizeof(mybuf)-7) break; res = hcharconv(pPar->hhstr[n]->hh, dest, UNICODE); |