From 33e80611c46ffb8b324e1d445287f0957546de97 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Nov 2018 10:25:31 +0200 Subject: remove unused SubsFontFlags flags and document in the registry that the SubstFontsPS is unused Change-Id: I66a9e0b4353f17b34cffb02823726c9887b7bdd3 Reviewed-on: https://gerrit.libreoffice.org/64065 Tested-by: Jenkins Reviewed-by: Noel Grandin --- unotools/source/config/fontcfg.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'unotools/source/config/fontcfg.cxx') diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx index 9f796ff88fc4..114e2dc37352 100644 --- a/unotools/source/config/fontcfg.cxx +++ b/unotools/source/config/fontcfg.cxx @@ -1002,8 +1002,6 @@ void FontSubstConfiguration::readLocaleSubst( const OUString& rBcp47 ) const // strings for subst retrieval, construct only once OUString const aSubstFontsStr ( "SubstFonts" ); OUString const aSubstFontsMSStr ( "SubstFontsMS" ); - OUString const aSubstFontsPSStr ( "SubstFontsPS" ); - OUString const aSubstFontsHTMLStr ( "SubstFontsHTML" ); OUString const aSubstWeightStr ( "FontWeight" ); OUString const aSubstWidthStr ( "FontWidth" ); OUString const aSubstTypeStr ( "FontType" ); @@ -1032,8 +1030,6 @@ void FontSubstConfiguration::readLocaleSubst( const OUString& rBcp47 ) const aAttr.Name = pFontNames[i]; fillSubstVector( xFont, aSubstFontsStr, aAttr.Substitutions ); fillSubstVector( xFont, aSubstFontsMSStr, aAttr.MSSubstitutions ); - fillSubstVector( xFont, aSubstFontsPSStr, aAttr.PSSubstitutions ); - fillSubstVector( xFont, aSubstFontsHTMLStr, aAttr.HTMLSubstitutions ); aAttr.Weight = getSubstWeight( xFont, aSubstWeightStr ); aAttr.Width = getSubstWidth( xFont, aSubstWidthStr ); aAttr.Type = getSubstType( xFont, aSubstTypeStr ); -- cgit