diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-10-01 17:27:46 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-10-01 19:47:48 +0200 |
commit | dc9270d207af24c9b5cd775eda8997f3aad68f14 (patch) | |
tree | 866c38bbb64b4729bb73cfc2a37d28e9eb6b5c1f /vcl/source | |
parent | 5cf31e332ed835fd1755bda133cee7bbc328dc09 (diff) |
Unused constants
Change-Id: Ic43a4e52b5ea40e54b368815e504840cb2c78aab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140845
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/font/PhysicalFontFace.cxx | 4 | ||||
-rw-r--r-- | vcl/source/fontsubset/sft.cxx | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/font/PhysicalFontFace.cxx b/vcl/source/font/PhysicalFontFace.cxx index d1c02bbcc62d..05f9a4519b61 100644 --- a/vcl/source/font/PhysicalFontFace.cxx +++ b/vcl/source/font/PhysicalFontFace.cxx @@ -335,8 +335,8 @@ class TrueTypeFace final : public AbstractTrueTypeFont { assert(nIdx < NUM_TAGS); static const uint32_t aTags[NUM_TAGS] = { - T_maxp, T_glyf, T_head, T_loca, T_name, T_hhea, T_hmtx, T_cmap, T_vhea, - T_vmtx, T_OS2, T_post, T_cvt, T_prep, T_fpgm, T_gsub, T_CFF, + T_maxp, T_glyf, T_head, T_loca, T_name, T_hhea, T_hmtx, T_cmap, + T_vhea, T_vmtx, T_OS2, T_post, T_cvt, T_prep, T_fpgm, T_CFF, }; if (m_aTableList[nIdx].empty()) m_aTableList[nIdx] = std::move(m_aFace.GetTable(aTags[nIdx])); diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index a0961c36542c..2079cefbb1a6 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -1356,7 +1356,6 @@ SFErrCodes TrueTypeFont::open(sal_uInt32 facenum) case T_cvt : nIndex = O_cvt; break; case T_prep: nIndex = O_prep; break; case T_fpgm: nIndex = O_fpgm; break; - case T_gsub: nIndex = O_gsub; break; case T_CFF: nIndex = O_CFF; break; default: nIndex = -1; break; } |