[Libreoffice-commits] core.git: vcl/source

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 30 20:14:40 UTC 2019


 vcl/source/gdi/pdfwriter_impl.hxx |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

New commits:
commit dec7ec8a73f1bb24099ab5f0a5dd8733bb4444f3
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 17:52:40 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Dec 30 21:14:06 2019 +0100

    pdf: move PDFEmbeddedFile out of PDFWriterImpl class
    
    Change-Id: Idde43d29ebee795319ced46667d89bfda3f7ec8a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86018
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>

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;


More information about the Libreoffice-commits mailing list