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

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


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

New commits:
commit e11dd7a101f2ab64cb7ee4a5c6ac46232356c573
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 12:17:39 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Dec 30 17:34:08 2019 +0100

    pdf: move TransparencyEmit out of PDFWriterImpl class
    
    Change-Id: I974845db88c0ae07881c573091a69c5098fa311b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86003
    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 2c1730345e96..57e9ca4eb9c7 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -239,6 +239,23 @@ struct TilingEmit
     {}
 };
 
+// for transparency group XObjects
+struct TransparencyEmit
+{
+    sal_Int32           m_nObject;
+    sal_Int32           m_nExtGStateObject;
+    double              m_fAlpha;
+    tools::Rectangle    m_aBoundRect;
+    std::unique_ptr<SvMemoryStream>  m_pContentStream;
+    std::unique_ptr<SvMemoryStream>  m_pSoftMaskStream;
+
+    TransparencyEmit()
+            : m_nObject( 0 ),
+              m_nExtGStateObject( -1 ),
+              m_fAlpha( 0.0 )
+    {}
+};
+
 }
 
 class PDFWriterImpl : public VirtualDevice
@@ -248,23 +265,6 @@ class PDFWriterImpl : public VirtualDevice
 public:
     friend struct vcl::pdf::PDFPage;
 
-    // for transparency group XObjects
-    struct TransparencyEmit
-    {
-        sal_Int32           m_nObject;
-        sal_Int32           m_nExtGStateObject;
-        double              m_fAlpha;
-        tools::Rectangle    m_aBoundRect;
-        std::unique_ptr<SvMemoryStream>  m_pContentStream;
-        std::unique_ptr<SvMemoryStream>  m_pSoftMaskStream;
-
-        TransparencyEmit()
-                : m_nObject( 0 ),
-                  m_nExtGStateObject( -1 ),
-                  m_fAlpha( 0.0 )
-        {}
-    };
-
     // font subsets
     class GlyphEmit
     {


More information about the Libreoffice-commits mailing list