diff options
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; |