summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-30 17:50:25 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-30 19:45:18 +0100
commit69b221263be58118b3293363ab9ecf7581c50c6f (patch)
tree0f688c2a359bfab9c59d26a160a63afd5f0bd8fd /vcl
parent82a22f62e5b1c7bfa7fb117a0423475f10410194 (diff)
pdf: move PDFAnnotation out of PDFWriterImpl class
Change-Id: I37db3419eeaa8c5f8096a663a2ccede178bfadf7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86016 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 8ee67280c962..1e6f40c24843 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -348,6 +348,18 @@ struct PDFOutlineEntry
{}
};
+struct PDFAnnotation
+{
+ sal_Int32 m_nObject;
+ tools::Rectangle m_aRect;
+ sal_Int32 m_nPage;
+
+ PDFAnnotation()
+ : m_nObject( -1 ),
+ m_nPage( -1 )
+ {}
+};
+
}
class PDFWriterImpl : public VirtualDevice
@@ -357,18 +369,6 @@ class PDFWriterImpl : public VirtualDevice
public:
friend struct vcl::pdf::PDFPage;
- struct PDFAnnotation
- {
- sal_Int32 m_nObject;
- tools::Rectangle m_aRect;
- sal_Int32 m_nPage;
-
- PDFAnnotation()
- : m_nObject( -1 ),
- m_nPage( -1 )
- {}
- };
-
struct PDFLink : public PDFAnnotation
{
sal_Int32 m_nDest; // set to -1 for URL, to a dest else