[util] Use automatic casts
This commit is contained in:
parent
97a9e4e41e
commit
ba418cfc52
|
@ -141,8 +141,8 @@ view_cairo_t::render (const font_options_t *font_opts)
|
||||||
/* Create surface. */
|
/* Create surface. */
|
||||||
cairo_t *cr = helper_cairo_create_context (w + margin.l + margin.r,
|
cairo_t *cr = helper_cairo_create_context (w + margin.l + margin.r,
|
||||||
h + margin.t + margin.b,
|
h + margin.t + margin.b,
|
||||||
static_cast<view_options_t *> (this),
|
this,
|
||||||
static_cast<output_options_t *> (this),
|
this,
|
||||||
content);
|
content);
|
||||||
cairo_set_scaled_font (cr, scaled_font);
|
cairo_set_scaled_font (cr, scaled_font);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue