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

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


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

New commits:
commit 960f781ad48b0e475a43ff7e58f67f2e65d3f4de
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 12:14:23 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Dec 30 17:33:42 2019 +0100

    pdf: move TilingEmit out of PDFWriterImpl class
    
    Change-Id: I80011f4c31359a4471daea7efc86dd3cb446ed9c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86002
    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 4e66f8f101c7..2c1730345e96 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -224,6 +224,21 @@ struct GradientEmit
     sal_Int32   m_nObject;
 };
 
+// for tilings (drawWallpaper, begin/endPattern)
+struct TilingEmit
+{
+    sal_Int32                   m_nObject;
+    tools::Rectangle                   m_aRectangle;
+    Size                        m_aCellSize;
+    SvtGraphicFill::Transform   m_aTransform;
+    ResourceDict                m_aResources;
+    std::unique_ptr<SvMemoryStream> m_pTilingStream;
+
+    TilingEmit()
+            : m_nObject( 0 )
+    {}
+};
+
 }
 
 class PDFWriterImpl : public VirtualDevice
@@ -233,21 +248,6 @@ class PDFWriterImpl : public VirtualDevice
 public:
     friend struct vcl::pdf::PDFPage;
 
-    // for tilings (drawWallpaper, begin/endPattern)
-    struct TilingEmit
-    {
-        sal_Int32                   m_nObject;
-        tools::Rectangle                   m_aRectangle;
-        Size                        m_aCellSize;
-        SvtGraphicFill::Transform   m_aTransform;
-        ResourceDict                m_aResources;
-        std::unique_ptr<SvMemoryStream> m_pTilingStream;
-
-        TilingEmit()
-                : m_nObject( 0 )
-        {}
-    };
-
     // for transparency group XObjects
     struct TransparencyEmit
     {


More information about the Libreoffice-commits mailing list