From d1dba3850438ae4335499887be65af678f5d8128 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Thu, 12 Jun 2008 13:22:47 +0000 Subject: [PATCH] Remove obsolete variable 'onlycurves' from pen-context.(h|cpp) --- src/pen-context.cpp | 3 +-- src/pen-context.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pen-context.cpp b/src/pen-context.cpp index e3ff835d5..49bf881a4 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1128,8 +1128,7 @@ spdc_pen_set_subsequent_point(SPPenContext *const pc, NR::Point const p, bool st pc->red_curve->reset(); pc->red_curve->moveto(pc->p[0]); bool is_curve; - if ( (pc->onlycurves) - || ( pc->p[1] != pc->p[0] ) ) + if (pc->p[1] != pc->p[0]) { pc->red_curve->curveto(pc->p[1], p, p); is_curve = true; diff --git a/src/pen-context.h b/src/pen-context.h index 29938e923..ddf1e76c4 100644 --- a/src/pen-context.h +++ b/src/pen-context.h @@ -37,7 +37,6 @@ struct SPPenContext : public SPDrawContext { unsigned int mode : 1; unsigned int state : 2; - unsigned int onlycurves : 1; bool polylines_only; -- 2.30.2