summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-30 12:25:57 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-30 17:41:27 +0100
commitee1e73ba8ce217c6ca78ad7966f068fdf9cdb1c7 (patch)
treeb7d391612f4a4db51e0a7062427b41034b984161 /vcl
parent2351ee06d6c4d5af35b46d63510d93c618ad0276 (diff)
pdf: move PDFDest out of PDFWriterImpl class
Change-Id: I5d5e2d6e9e922a28d7de5bab9fb94f36960b78dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86006 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index e93d4005121e..60679ffe5a40 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -313,6 +313,13 @@ struct EmbedFont
EmbedFont() : m_nNormalFontID( 0 ) {}
};
+struct PDFDest
+{
+ sal_Int32 m_nPage;
+ PDFWriter::DestAreaType m_eType;
+ tools::Rectangle m_aRect;
+};
+
}
class PDFWriterImpl : public VirtualDevice
@@ -322,13 +329,6 @@ class PDFWriterImpl : public VirtualDevice
public:
friend struct vcl::pdf::PDFPage;
- struct PDFDest
- {
- sal_Int32 m_nPage;
- PDFWriter::DestAreaType m_eType;
- tools::Rectangle m_aRect;
- };
-
//--->i56629
struct PDFNamedDest
{