vcl/source/gdi/pdfwriter_impl.hxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
New commits: commit c13dda739056ac8c37d29ea4ac08dd140d2e4563 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Dec 30 17:51:32 2019 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Dec 30 20:49:37 2019 +0100 pdf: move PDFLink out of PDFWriterImpl class Change-Id: If0a5e148e97c5ea11a70fe737e114cf7ff6f15a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86017 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 1e6f40c24843..899fa0eac71f 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -360,6 +360,18 @@ struct PDFAnnotation {} }; +struct PDFLink : public PDFAnnotation +{ + sal_Int32 m_nDest; // set to -1 for URL, to a dest else + OUString m_aURL; + sal_Int32 m_nStructParent; // struct parent entry + + PDFLink() + : m_nDest( -1 ), + m_nStructParent( -1 ) + {} +}; + } class PDFWriterImpl : public VirtualDevice @@ -369,18 +381,6 @@ class PDFWriterImpl : public VirtualDevice public: friend struct vcl::pdf::PDFPage; - struct PDFLink : public PDFAnnotation - { - sal_Int32 m_nDest; // set to -1 for URL, to a dest else - OUString m_aURL; - sal_Int32 m_nStructParent; // struct parent entry - - PDFLink() - : m_nDest( -1 ), - m_nStructParent( -1 ) - {} - }; - /// A PDF Screen annotation. struct PDFScreen : public PDFAnnotation { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits