vcl/source/gdi/pdfwriter_impl.hxx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-)
New commits: commit 124ebc32de32c8619618776b589934bae464711e Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Dec 30 17:49:23 2019 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Dec 30 19:34:06 2019 +0100 pdf: move PDFOutlineEntry out of PDFWriterImpl class Change-Id: I69e1c9821bde7c7a7164bef041bbe45a5ea2d4d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86015 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 8b2a98dbdad6..8ee67280c962 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -329,6 +329,25 @@ struct PDFNamedDest tools::Rectangle m_aRect; }; +struct PDFOutlineEntry +{ + sal_Int32 m_nObject; + sal_Int32 m_nParentObject; + sal_Int32 m_nNextObject; + sal_Int32 m_nPrevObject; + std::vector< sal_Int32 > m_aChildren; + OUString m_aTitle; + sal_Int32 m_nDestID; + + PDFOutlineEntry() + : m_nObject( 0 ), + m_nParentObject( 0 ), + m_nNextObject( 0 ), + m_nPrevObject( 0 ), + m_nDestID( -1 ) + {} +}; + } class PDFWriterImpl : public VirtualDevice @@ -338,25 +357,6 @@ class PDFWriterImpl : public VirtualDevice public: friend struct vcl::pdf::PDFPage; - struct PDFOutlineEntry - { - sal_Int32 m_nObject; - sal_Int32 m_nParentObject; - sal_Int32 m_nNextObject; - sal_Int32 m_nPrevObject; - std::vector< sal_Int32 > m_aChildren; - OUString m_aTitle; - sal_Int32 m_nDestID; - - PDFOutlineEntry() - : m_nObject( 0 ), - m_nParentObject( 0 ), - m_nNextObject( 0 ), - m_nPrevObject( 0 ), - m_nDestID( -1 ) - {} - }; - struct PDFAnnotation { sal_Int32 m_nObject; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits