vcl/source/gdi/pdfwriter_impl.hxx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)
New commits: commit dec7ec8a73f1bb24099ab5f0a5dd8733bb4444f3 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Dec 30 17:52:40 2019 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Dec 30 21:14:06 2019 +0100 pdf: move PDFEmbeddedFile out of PDFWriterImpl class Change-Id: Idde43d29ebee795319ced46667d89bfda3f7ec8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86018 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 899fa0eac71f..37b2d6762fdc 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -372,6 +372,20 @@ struct PDFLink : public PDFAnnotation {} }; +/// A PDF embedded file. +struct PDFEmbeddedFile +{ + /// ID of the file. + sal_Int32 m_nObject; + /// Contents of the file. + std::shared_ptr<std::vector<sal_Int8>> m_pData; + + PDFEmbeddedFile() + : m_nObject(0) + { + } +}; + } class PDFWriterImpl : public VirtualDevice @@ -397,20 +411,6 @@ public: } }; - /// A PDF embedded file. - struct PDFEmbeddedFile - { - /// ID of the file. - sal_Int32 m_nObject; - /// Contents of the file. - std::shared_ptr<std::vector<sal_Int8>> m_pData; - - PDFEmbeddedFile() - : m_nObject(0) - { - } - }; - struct PDFNoteEntry : public PDFAnnotation { PDFNote m_aContents; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits