summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-30 17:49:23 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-30 19:34:06 +0100
commit124ebc32de32c8619618776b589934bae464711e (patch)
tree1b8bf996d125a9ac91b00c418e9a18f85be0b0d9 /vcl
parentc3c0d671e1025ef4a1485dd0b2aa20b8b3a3f3af (diff)
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 <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx38
1 files changed, 19 insertions, 19 deletions
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;