diff options
Diffstat (limited to 'core/fxge/cfx_font.h')
-rw-r--r-- | core/fxge/cfx_font.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/fxge/cfx_font.h b/core/fxge/cfx_font.h index 13cb892c19..c8c4cf7a5f 100644 --- a/core/fxge/cfx_font.h +++ b/core/fxge/cfx_font.h @@ -8,7 +8,6 @@ #define CORE_FXGE_CFX_FONT_H_ #include <memory> -#include <utility> #include <vector> #include "core/fxcrt/bytestring.h" @@ -47,9 +46,7 @@ class CFX_Font { bool LoadFile(const RetainPtr<IFX_SeekableReadStream>& pFile, int nFaceIndex); void SetFace(FXFT_Face face); - void SetSubstFont(std::unique_ptr<CFX_SubstFont> subst) { - m_pSubstFont = std::move(subst); - } + void SetSubstFont(std::unique_ptr<CFX_SubstFont> subst); #endif // PDF_ENABLE_XFA const CFX_GlyphBitmap* LoadGlyphBitmap(uint32_t glyph_index, |