diff options
Diffstat (limited to 'vcl/source/font/FeatureCollector.cxx')
-rw-r--r-- | vcl/source/font/FeatureCollector.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/font/FeatureCollector.cxx b/vcl/source/font/FeatureCollector.cxx index 6448860f9998..6cb1b14c52cd 100644 --- a/vcl/source/font/FeatureCollector.cxx +++ b/vcl/source/font/FeatureCollector.cxx @@ -95,15 +95,14 @@ void FeatureCollector::collectForLanguage(hb_tag_t aTableTag, sal_uInt32 nScript for (hb_tag_t aFeatureTag : aFeatureTags) { - if (OpenTypeFeatureDefinitionList::get().isRequired(aFeatureTag)) + if (OpenTypeFeatureDefinitionList().isRequired(aFeatureTag)) continue; m_rFontFeatures.emplace_back(); vcl::font::Feature& rFeature = m_rFontFeatures.back(); rFeature.m_aID = { aFeatureTag, aScriptTag, aLanguageTag }; - FeatureDefinition aDefinition - = OpenTypeFeatureDefinitionList::get().getDefinition(aFeatureTag); + FeatureDefinition aDefinition = OpenTypeFeatureDefinitionList().getDefinition(aFeatureTag); if (aDefinition) { rFeature.m_aDefinition = aDefinition; |