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

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 30 18:34:42 UTC 2019


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

New commits:
commit 124ebc32de32c8619618776b589934bae464711e
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 17:49:23 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Dec 30 19:34:06 2019 +0100

    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 at gmail.com>

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;


More information about the Libreoffice-commits mailing list