summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-30 17:52:40 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-30 21:14:06 +0100
commitdec7ec8a73f1bb24099ab5f0a5dd8733bb4444f3 (patch)
treec8191c15271d87e956e7c32161e78ad4c42b899e
parentc13dda739056ac8c37d29ea4ac08dd140d2e4563 (diff)
pdf: move PDFEmbeddedFile out of PDFWriterImpl class
Change-Id: Idde43d29ebee795319ced46667d89bfda3f7ec8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86018 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 899fa0eac71f..37b2d6762fdc 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -372,6 +372,20 @@ struct PDFLink : public PDFAnnotation
{}
};
+/// A PDF embedded file.
+struct PDFEmbeddedFile
+{
+ /// ID of the file.
+ sal_Int32 m_nObject;
+ /// Contents of the file.
+ std::shared_ptr<std::vector<sal_Int8>> m_pData;
+
+ PDFEmbeddedFile()
+ : m_nObject(0)
+ {
+ }
+};
+
}
class PDFWriterImpl : public VirtualDevice
@@ -397,20 +411,6 @@ public:
}
};
- /// A PDF embedded file.
- struct PDFEmbeddedFile
- {
- /// ID of the file.
- sal_Int32 m_nObject;
- /// Contents of the file.
- std::shared_ptr<std::vector<sal_Int8>> m_pData;
-
- PDFEmbeddedFile()
- : m_nObject(0)
- {
- }
- };
-
struct PDFNoteEntry : public PDFAnnotation
{
PDFNote m_aContents;