summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-30 17:51:32 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-30 20:49:37 +0100
commitc13dda739056ac8c37d29ea4ac08dd140d2e4563 (patch)
tree355ec0c84abd09a3cb0f83853e553d3d24c1d411 /vcl
parent7f2d408ccd8176d199cfc8616587652f2d8cc126 (diff)
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@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx24
1 files changed, 12 insertions, 12 deletions
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
{