vcl/source/gdi/pdfwriter_impl.hxx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-)
New commits: commit e11dd7a101f2ab64cb7ee4a5c6ac46232356c573 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Dec 30 12:17:39 2019 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Dec 30 17:34:08 2019 +0100 pdf: move TransparencyEmit out of PDFWriterImpl class Change-Id: I974845db88c0ae07881c573091a69c5098fa311b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86003 Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> Tested-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 2c1730345e96..57e9ca4eb9c7 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -239,6 +239,23 @@ struct TilingEmit {} }; +// for transparency group XObjects +struct TransparencyEmit +{ + sal_Int32 m_nObject; + sal_Int32 m_nExtGStateObject; + double m_fAlpha; + tools::Rectangle m_aBoundRect; + std::unique_ptr<SvMemoryStream> m_pContentStream; + std::unique_ptr<SvMemoryStream> m_pSoftMaskStream; + + TransparencyEmit() + : m_nObject( 0 ), + m_nExtGStateObject( -1 ), + m_fAlpha( 0.0 ) + {} +}; + } class PDFWriterImpl : public VirtualDevice @@ -248,23 +265,6 @@ class PDFWriterImpl : public VirtualDevice public: friend struct vcl::pdf::PDFPage; - // for transparency group XObjects - struct TransparencyEmit - { - sal_Int32 m_nObject; - sal_Int32 m_nExtGStateObject; - double m_fAlpha; - tools::Rectangle m_aBoundRect; - std::unique_ptr<SvMemoryStream> m_pContentStream; - std::unique_ptr<SvMemoryStream> m_pSoftMaskStream; - - TransparencyEmit() - : m_nObject( 0 ), - m_nExtGStateObject( -1 ), - m_fAlpha( 0.0 ) - {} - }; - // font subsets class GlyphEmit { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits