diff --git a/src/hb-aat-layout.hh b/src/hb-aat-layout.hh index 9a0e4468f..8310bfcc2 100644 --- a/src/hb-aat-layout.hh +++ b/src/hb-aat-layout.hh @@ -78,12 +78,4 @@ hb_aat_layout_track (const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer); -inline hb_language_t -_hb_aat_language_get (hb_face_t *face, - unsigned int i) -{ - return face->table.ltag->get_language (i); -} - - #endif /* HB_AAT_LAYOUT_HH */ diff --git a/src/hb-ot-name-table.hh b/src/hb-ot-name-table.hh index 68d7b3a65..59bf4387f 100644 --- a/src/hb-ot-name-table.hh +++ b/src/hb-ot-name-table.hh @@ -63,7 +63,7 @@ struct NameRecord #ifndef HB_NO_OT_NAME_LANGUAGE_AAT if (p == 0) - return _hb_aat_language_get (face, l); + return face->table.ltag->get_language (l); #endif #endif