summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-21 19:42:25 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-21 20:56:59 +0100
commita2a2e45c3e11191b13edfe707543b063a639ab74 (patch)
tree6ec6f9faca335c1c9c4a579695d0ef07a19ff062 /hwpfilter
parentf9cac2a31dc0c797f35af082072676f3381e718f (diff)
WaE: duplicateBranch
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpreader.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 5e977dcf0aaf..19cd8ec4bd06 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -4364,10 +4364,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
if (drawobj->u.freeform.npt > 2){
int n, i;
- if( bIsNatural == sal_True )
- n = drawobj->u.freeform.npt;
- else
- n = drawobj->u.freeform.npt ;
+ n = drawobj->u.freeform.npt;
double *xarr = new double[n+1];
double *yarr = new double[n+1];