summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/cairo-render-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/internal/cairo-render-context.cpp')
-rw-r--r--src/extension/internal/cairo-render-context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp
index 13302831e..747054c7f 100644
--- a/src/extension/internal/cairo-render-context.cpp
+++ b/src/extension/internal/cairo-render-context.cpp
@@ -1250,9 +1250,9 @@ bool
CairoRenderContext::renderPathVector(Geom::PathVector const & pathv, SPStyle const *style, NRRect const *pbox)
{
NArtBpath * bpath = BPath_from_2GeomPath (pathv);
- const_NRBPath *bp;
- bp->path = bpath;
- bool retvalue = renderPath(bp, style, pbox);
+ const_NRBPath bp;
+ bp.path = bpath;
+ bool retvalue = renderPath(&bp, style, pbox);
g_free(bpath);
return retvalue;
}