From be3856df54e6a19041312479b8ffa8bd944aadd8 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 30 Dec 2019 18:06:34 +0100 Subject: pdf: move PDFAddStream out of PDFWriterImpl class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3c96fcb3438f982fa6d40f806c4fc90db5025091 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86028 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- vcl/source/gdi/pdfwriter_impl.hxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 0ece9135782c..3302c533acfa 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -520,6 +520,16 @@ struct PDFStructureElement }; +struct PDFAddStream +{ + OUString m_aMimeType; + PDFOutputStream* m_pStream; + sal_Int32 m_nStreamObject; + bool m_bCompress; + + PDFAddStream() : m_pStream( nullptr ), m_nStreamObject( 0 ), m_bCompress( true ) {} +}; + } class PDFWriterImpl : public VirtualDevice @@ -529,16 +539,6 @@ class PDFWriterImpl : public VirtualDevice public: friend struct vcl::pdf::PDFPage; - struct PDFAddStream - { - OUString m_aMimeType; - PDFOutputStream* m_pStream; - sal_Int32 m_nStreamObject; - bool m_bCompress; - - PDFAddStream() : m_pStream( nullptr ), m_nStreamObject( 0 ), m_bCompress( true ) {} - }; - // helper structure for drawLayout and friends struct PDFGlyph { -- cgit v1.2.3