summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-01 16:58:41 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-01 16:58:41 +0200
commit9e43fd5ace67a6c8493c222c8a71ba7bcca87325 (patch)
tree09fa9f97ff31e85545b6dc8c7742bb337529fceb
parenta6de4b76903f590c776c112e02e2f2ce0a363010 (diff)
downloadmupdf-9e43fd5ace67a6c8493c222c8a71ba7bcca87325.tar.xz
xps: Fix trivial bug.
-rw-r--r--xps/xpspath.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xps/xpspath.c b/xps/xpspath.c
index 250ab022..ded566ca 100644
--- a/xps/xpspath.c
+++ b/xps/xpspath.c
@@ -975,12 +975,6 @@ xps_parse_path(xps_context *ctx, fz_matrix ctm, char *base_uri, xps_resource *di
if (stroke_tag)
{
- path = fz_newpath();
- if (data_att)
- xps_parse_abbreviated_geometry(ctx, data_att, &fill_rule);
- if (data_tag)
- xps_parse_path_geometry(ctx, dict, data_tag, 1, &fill_rule);
-
ctx->dev->clipstrokepath(ctx->dev->user, path, &stroke, ctm);
xps_parse_brush(ctx, ctm, area, stroke_uri, dict, stroke_tag);
ctx->dev->popclip(ctx->dev->user);