Fix spacing around casts

This commit is contained in:
Simon Cozens 2020-09-18 16:24:47 +01:00
parent f19018da41
commit 428c111f13
5 changed files with 6 additions and 6 deletions

View File

@ -1881,7 +1881,7 @@ void hb_ot_map_t::substitute (const hb_ot_shape_plan_t *plan, hb_font_t *font, h
GSUBProxy proxy (font->face);
if (!buffer->message (font, "start table GSUB")) return;
apply (proxy, plan, font, buffer);
(void)buffer->message (font, "end table GSUB");
(void) buffer->message (font, "end table GSUB");
}
void hb_ot_map_t::position (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const
@ -1889,7 +1889,7 @@ void hb_ot_map_t::position (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_
GPOSProxy proxy (font->face);
if (!buffer->message (font, "start table GPOS")) return;
apply (proxy, plan, font, buffer);
(void)buffer->message (font, "end table GPOS");
(void) buffer->message (font, "end table GPOS");
}
void

View File

@ -1013,7 +1013,7 @@ initial_reordering_indic (const hb_ot_shape_plan_t *plan,
foreach_syllable (buffer, start, end)
initial_reordering_syllable_indic (plan, font->face, buffer, start, end);
(void)buffer->message (font, "end reordering indic initial");
(void) buffer->message (font, "end reordering indic initial");
}
static void

View File

@ -394,7 +394,7 @@ reorder_khmer (const hb_ot_shape_plan_t *plan,
foreach_syllable (buffer, start, end)
reorder_syllable_khmer (plan, font->face, buffer, start, end);
(void)buffer->message (font, "end reordering khmer");
(void) buffer->message (font, "end reordering khmer");
}
HB_BUFFER_DEALLOCATE_VAR (buffer, khmer_category);
}

View File

@ -332,7 +332,7 @@ reorder_myanmar (const hb_ot_shape_plan_t *plan,
foreach_syllable (buffer, start, end)
reorder_syllable_myanmar (plan, font->face, buffer, start, end);
(void)buffer->message (font, "end reordering myanmar");
(void) buffer->message (font, "end reordering myanmar");
}
HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_category);

View File

@ -523,7 +523,7 @@ reorder_use (const hb_ot_shape_plan_t *plan,
foreach_syllable (buffer, start, end)
reorder_syllable_use (buffer, start, end);
(void)buffer->message (font, "end reordering USE");
(void) buffer->message (font, "end reordering USE");
}
HB_BUFFER_DEALLOCATE_VAR (buffer, use_category);