diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-12-30 09:23:31 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-12-30 13:56:10 +0100 |
commit | c10d76aac978beb36439512be0a36aac90a4c03f (patch) | |
tree | 5e07fe6202b378e0af277bbf2e6c3b8af13e2923 /vcl/source | |
parent | 76be71b2afa00ab66a543771c2c1a0894fa3a1ae (diff) |
pdf: remove FontEmbedData typedef
Change-Id: Ib74bd652917d4c7852bc53570986d5b13bc99d32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85987
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 143460b457cf..633c40780b7c 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -5671,7 +5671,7 @@ sal_Int32 PDFWriterImpl::getSystemFont( const vcl::Font& i_rFont ) const PhysicalFontFace* pDevFont = GetFontInstance()->GetFontFace(); sal_Int32 nFontID = 0; - FontEmbedData::iterator it = m_aSystemFonts.find( pDevFont ); + auto it = m_aSystemFonts.find( pDevFont ); if( it != m_aSystemFonts.end() ) nFontID = it->second.m_nNormalFontID; else diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 8cc7c714f338..da7ff1d823b4 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -311,7 +311,6 @@ public: EmbedFont() : m_nNormalFontID( 0 ) {} }; - typedef std::map< const PhysicalFontFace*, EmbedFont > FontEmbedData; struct PDFDest { @@ -643,7 +642,7 @@ private: std::list< TransparencyEmit > m_aTransparentObjects; /* contains all font subsets in use */ std::map<const PhysicalFontFace*, FontSubset> m_aSubsets; - FontEmbedData m_aSystemFonts; + std::map<const PhysicalFontFace*, EmbedFont> m_aSystemFonts; sal_Int32 m_nNextFID; PDFFontCache m_aFontCache; |