diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-12-30 18:06:34 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-12-30 23:14:45 +0100 |
commit | be3856df54e6a19041312479b8ffa8bd944aadd8 (patch) | |
tree | f7c42f26069fe0c11e0480671d658d8e7f578d79 /vcl | |
parent | a8085e5a0765ae078b3125dec7e05eddaecf9a1d (diff) |
pdf: move PDFAddStream out of PDFWriterImpl class
Change-Id: I3c96fcb3438f982fa6d40f806c4fc90db5025091
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86028
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 20 |
1 files 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 { |