[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 30 19:50:12 UTC 2019
vcl/source/gdi/pdfwriter_impl.hxx | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
New commits:
commit c13dda739056ac8c37d29ea4ac08dd140d2e4563
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 17:51:32 2019 +0100
Commit: Tomaž Vajngerl <quikee at 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 <quikee at 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
{
More information about the Libreoffice-commits
mailing list