vcl/source/gdi/pdfwriter_impl.hxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
New commits: commit 26000465c11656b4189b524546c661cacd555e36 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Dec 30 18:03:21 2019 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Dec 30 21:16:21 2019 +0100 pdf: move PDFStructureElementKid out of PDFWriterImpl class Change-Id: I4d213944d83b70058be2ed676a5533481904169e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86023 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 9ca568cbea64..eefb11b79d4b 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -477,6 +477,16 @@ struct PDFStructureAttribute {} }; +struct PDFStructureElementKid // for Kids entries +{ + sal_Int32 const nObject; // an object number if nMCID is -1, + // else the page object relevant to MCID + sal_Int32 const nMCID; // an MCID if >= 0 + + explicit PDFStructureElementKid( sal_Int32 nObj ) : nObject( nObj ), nMCID( -1 ) {} + PDFStructureElementKid( sal_Int32 MCID, sal_Int32 nPage ) : nObject( nPage ), nMCID( MCID ) {} +}; + } class PDFWriterImpl : public VirtualDevice @@ -486,16 +496,6 @@ class PDFWriterImpl : public VirtualDevice public: friend struct vcl::pdf::PDFPage; - struct PDFStructureElementKid // for Kids entries - { - sal_Int32 const nObject; // an object number if nMCID is -1, - // else the page object relevant to MCID - sal_Int32 const nMCID; // an MCID if >= 0 - - explicit PDFStructureElementKid( sal_Int32 nObj ) : nObject( nObj ), nMCID( -1 ) {} - PDFStructureElementKid( sal_Int32 MCID, sal_Int32 nPage ) : nObject( nPage ), nMCID( MCID ) {} - }; - struct PDFStructureElement { sal_Int32 m_nObject; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits