diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-12-30 09:28:19 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-12-30 13:56:21 +0100 |
commit | 283f1fb10a7a1643712e70b46c2ab09a89ac013e (patch) | |
tree | a7e4f1f80191db275ce3456f6ec4db31f99b164f /vcl/source/gdi/pdfwriter_impl.cxx | |
parent | c10d76aac978beb36439512be0a36aac90a4c03f (diff) |
pdf: remove PDFAppearanceMap typdef, but keep PDFAppearanceStreams
The full declaration would be very long so only remove
PDFAppearanceMap but keep PDFAppearanceStreams and only move it
inside PDFWidget class.
Change-Id: Idd783a37dcb631d63cb4f2cf1ebd6040e0f723ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85991
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 633c40780b7c..4c02c41717af 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -10954,10 +10954,10 @@ void PDFWriterImpl::ensureUniqueRadioOnValues() for (auto const& nKidIndex : rGroupWidget.m_aKidsIndex) { PDFWidget& rKid = m_aWidgets[nKidIndex]; - PDFAppearanceMap::iterator app_it = rKid.m_aAppearances.find( "N" ); + auto app_it = rKid.m_aAppearances.find( "N" ); if( app_it != rKid.m_aAppearances.end() ) { - PDFAppearanceStreams::iterator stream_it = app_it->second.find( "Yes" ); + auto stream_it = app_it->second.find( "Yes" ); if( stream_it != app_it->second.end() ) { SvMemoryStream* pStream = stream_it->second; |